Skip to content

Latest commit

 

History

History
222 lines (154 loc) · 8.82 KB

README.en.md

File metadata and controls

222 lines (154 loc) · 8.82 KB

Español (internacional)

Ecogames

Ecogames is a modern educative trivia-like game meant for economy-related activities.

Requirements

Minimum specifications

  • Processor: 1 core @ 613 MHz, x86 (32-bit), without PAE/NX support.
  • RAM memory: 64 MB (with a pagefile of 64 MB or more), or 128 MB (no pagefile required).
  • Operating system: Windows 98 SE (x86).
  • Storage: 7 MB of free space.
  • Software: .NET Framework 2.0.

Recommended specifications

  • Processor: 1 core @ 875 MHz, x86 (32-bit), with support for PAE/NX, or greater.
  • RAM memory: 128 MB (with a pagefile of 128 MB or more), or 256 MB (no pagefile required), or more.
  • Operating system: Windows 7 (x86), or newer.
  • Storage: 10 MB or more of free space.
  • Software: .NET Framework 3.5.

User interface

Once the applications is started, a welcome screen will show up containing basic information about what's going on internally.

Welcome screen

Administration

During the first start, you'll be presented with the following form, on which you must register. This is done with the purpose of trying to prevent or, at least block users from logging into the administration area.

First run


It's possible to create different activities, they're defined as follows: "Crossword", "Hangman", "Open questions" y "Closed questions".

Also, it'll be necessary to set a name for each and, optionally, a description.

Administration interface


All of the activity types support deletion and modification.

Deleting and modifying


This is how the crosswords' creation or modification form looks like.

Crossword


In the other hand, you can create the kind of "hangman" games in the following form.

Take in mind that you're free from enabling or desabling its functions as needed.

Hangman


The form that you can see below, will allow you to do an open question, that is, a question that doesn't contain any options and the development of the answer relies entirely on the participant.

Note that, as an optional experimental feature, you can check "Verify automatically" that, as the name suggests, allows the computer to try to evaluate the answer automatically. Being that it's impossible to determine whether an answer is right or wrong based off the answer saved in the system taken that the participant will be able to write whatever he/she wants at discretion, it'll require some processing time and might cause unexpected results.

Hangman


It's possible to create closed questions too (with options).

In the following form you'll be presented, you must type in the question you want to do and, then, click "Next".

Closed question: adding the question


Once done, you'll be able to see the rest of the interface, on which you can add, delete and modify the options.

Closed question: adding options


Special keys

Once you're done with the initial configuration, in order to prevent unwanted access of the participants to the administration area, the only way of accessing it, will be using the following key combo:

CTRL + S

In the same way, if you feel like you need to remove all the activities, as a last resource, you can use the following combo:

CTRL + ALT

If you want to do it, keep pressing and, then, you'll notice that "Delete" will now be "Delete all", click it to do the operation. You'll be requested for confirmation.

Also, you can delete the data and restart the application easily if your version has ENABLE_MASTER_RESET defined and it's True, using the following combination:

CTRL + ALT + M

User

The user has an interface that looks like the one you can see below.

Here, they'll be able of solving crosswords, play "hangman" games and answer open and closed questions.

Activities


The crosswords interface, generally, will look like this.

Solving crossword


While the one for the "hangman" games, like this.

Solving hangman


The open questions, like this.

Solving open question


And, at last, the closed questions, in this way.

Solving closed question

Technical specifications

Statistics

Project: Ecogames
Configuration: Debug
Scope: Project
Maintainability Index: 64
Cyclomatic Complexity: 750
Depth of Inheritance: 9
Class Coupling: 118
Lines of Code: 3,069

According to the results of the analysis driven by the IDE in which the project was made, it's got a maintainability index of 64 points, a great result.

For more information, head to the official Microsoft docuemntation.

Code structure

Most part of the re-used code, can be found in the global module (General.vb), it includes procedures and functions that serve as helpers for the rest of the classes.

Along the code of the classes, there are implicit categories that determine how are the code lines separated visually inside the same parent block.

An example can be seen below.

Code blocks


Also, as a long-term optimization measurement, and to prevent leaks of internal data, the debugging symbols won't be compiled in final releases.

Símbolos de depuración

Optional parameters

Clarification: the following constants shall be understood as defined and with a True value.

DEBUG - Enables the debugging symbols and posts messages to the console output.

  • DEBUG_CLEAN - Wipes the system data each time the application is started.
    • KEEP_LANG - Won't wipe the language selection during the cleanup.

ENABLE_MASTER_RESET - Allows issuing CTRL + ALT + M to run a quick manual wipe.

Dependencies

Runtime

The dependencies required on runtime are included in a dynamic way inside of the public distributable package.

Compilation

Resources

Visual

Audio

Applications