For the toolbar: NewGame, Skin, Settings, Help, OnePlayer, TwoPlayer, Play, Open, Save, SaveAs
You can also change the default colors: BackgroundColor, MapColor, WaterColor, RedColor, ActiveRedColor, BlueColor, ActiveBlueColor
Note that the last skin loaded will become the default skin so long as it is accessible
Multiplayer:
Start the server:
o Pass the port number you would like to use as a single command line
parameter
o To use the default port, "10101", run the program with no command line
parameters
Start the client:
o From the Stratego menu, select Two Player
o Enter the IP the server is running on
o Enter the port the server is running on
Once both players are connected your pieces will appear on the screen
When you have finished setting up the board click Play to start
o If you have not finished placing your pieces the will be placed arbitrarily
o Clicking play when your opponent has not finished placing their pieces will
not start the game
Red always goes first
Controlling the server:
Start the server with a command line
Enter 'help' to see a list of commands
Some notable commands include:
o i - Ignore:
This command will toggle the ignore functionality. When ignoring, the server
will not allow any new games to be started. Games in play will not be
affected.
o x - Close when there are no games being played:
If the number of games currently in play ever drops to zero the server is
terminated. This command is also a toggle.
o p - Change the port:
This command takes a single parameter which is the new port. If the requested
port is unavailable, the server will enter ignore mode and inform the user.
o a - Activate remote connection:
Sets up the server to receive remote input. This may be done multiple times.
This provides the same functionality as issuing commands from the terminal,
but from any computer. This command takes multiple parameters, in this order:
Privilege level: The acceptable input for this parameter is 'admin' or 'guest' only. The admin level provides almost all the functionality of actually being at the server. The guest level provided only read access.
Port Number: The port to be open for remote input.
Password: The password required to connect to this port.
o d - Disconnect all remote connections:
This will disconnect all remote controllers and close the servers that were
hosting them. Of course, new remote server can still be created using the 'a'
command. This command can only be executed locally.
o r - Restart the server:
This will close all games and automatically start accepting new connections.
This has the same effect of manually terminating the server and running it
again, except that all remote connections remain active.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Click the help button in game for rule related information.
Playing the game:
To move or attack with pieces simply drag the piece to where you want to move
(or where you want to attack).
AI:
The game comes with a couple preset AI setups and will pick one randomly each
time you play. To add new setups:
o Alternatively, you can type in the full path or the path relative to the
stratego jar
Skins:
The game comes with two skins. One is the default skin, the other is a larger
version of the default skin. To load a skin:
To create new skins:
Multiplayer:
o Pass the port number you would like to use as a single command line
parameter
o To use the default port, "10101", run the program with no command line
parameters
o From the Stratego menu, select Two Player
o Enter the IP the server is running on
o Enter the port the server is running on
o If you have not finished placing your pieces the will be placed arbitrarily
o Clicking play when your opponent has not finished placing their pieces will
not start the game
Controlling the server:
o i - Ignore:
This command will toggle the ignore functionality. When ignoring, the server
will not allow any new games to be started. Games in play will not be
affected.
o x - Close when there are no games being played:
If the number of games currently in play ever drops to zero the server is
terminated. This command is also a toggle.
o p - Change the port:
This command takes a single parameter which is the new port. If the requested
port is unavailable, the server will enter ignore mode and inform the user.
o a - Activate remote connection:
Sets up the server to receive remote input. This may be done multiple times.
This provides the same functionality as issuing commands from the terminal,
but from any computer. This command takes multiple parameters, in this order:
o d - Disconnect all remote connections:
This will disconnect all remote controllers and close the servers that were
hosting them. Of course, new remote server can still be created using the 'a'
command. This command can only be executed locally.
o r - Restart the server:
This will close all games and automatically start accepting new connections.
This has the same effect of manually terminating the server and running it
again, except that all remote connections remain active.