Skip to content
Florian Fischer edited this page Feb 7, 2020 · 3 revisions

Welcome to the terminal-flood wiki!

Playing the game

This program can be used without any program arguments, they simply allow customization of the gameplay.

Program arguments to customize a game

  • -seed STR
    • The seed used for the random number generator. The value can be any string. Random default.
  • -size N
    • The size of the game board (always a square). Default 14.
  • -colors N
    • The amount of colors used for the game. Only values between 2 and 35 (inclusive) are allowed. Recommended values are between 4 and 8. Default 6.
  • -startPos STR
    • The starting position at the beginning of the game. Can be ul for upper left corner, ur for upper right corner, ll for lower left corner, lr for lower right corner and m for middle of the board. Default ul.

Example

java -jar terminal-flood.jar -seed "xyzzy" -size 18 -colors 6 -startPos m

The above command will create a game with an 18x18 board, 6 colors, starting position in the middle and the string xyzzy used as the seed value for the RNG.

Want to know about other features of terminal-flood?

Check out the full documentation!