How To Use |
Here we will describe how to use the various aspects of the program, with exception of how the individual games are working. This cannot be done of course, since the games has not been written yet. |
|
Using the Loader |
Using the loader to start a game could not be simpler. Just navigate through the menu; "Games → Start new Game.." and navigate the tree until you find a interesting game. Select it in the tree, and the name is shown above the two buttons, plus the accept-button can be pressed.
When the accept-button is pressed, the game loads and a dialog will tell about the game and the rules governing it. |
|
Command-line Options |
There are a few options that can be added on the command-line. These are all turned around the games and provide either information about the games, or allow you to start a game without going through the Game List.
The available options are:
- -c [or --count] - This sums the total number of games and displays it.
- -l [or --list] - This prints a list of all games, sorted by factories, and present the entire package-list for the game, which is needed for the Loader to work correctly.
- -g [or --game] game - This tells the program to load the game game. See Starting a Game without the Loader
The program only takes one option at a time, and only the first. Fx would "java -classpath . mindcrackers.Mindcrackers -c -l" and "java -classpath . mindcrackers.Mindcrackers -c" produce the exact same result.
|
|
Starting a Game without the Loader |
When starting a game without the Loader, you must tell the program at the command-line which program you wish to start. The correct option is -g [or --game] game, where game must refer to the class with the entire package-structure intact for the Loader to work.
Fx "java -classpath . mindcrackers.Mindcrackers -g mindcrackers.illvid.ht.DieFaces" starts the game "DieFaces", located in the package "mindcrackers.illvid.ht".
Otherwise the program starts as normal, and it is possible to stop and restart the game as well as using the Loader for starting another instead.
|
|