A GUI that produces a tiled layout with several independent games solved by
the same solver. In order to start this GUI, the main method receives all its
configuration via the CLI. It can handle the following CLI parameters:
- The fully qualified name of the solver class to be used in all
GamePanels
- The dimensions of the MineMap (e.g., 20x20)
- The mine ratio (e.g., .12, for details consult
MineSweeper which
have several suggested mine ratios and their corresponding names in the
GUI)
- The amount of time introduced by the Minemap in each AI instructed
operation in milliseconds (e.g., 1000) - useful to slow down the AI to
visually pleasing speeds. Setting this below 100 is really dangerous and
could result in the rapid spawning and disappearance of windows.
- The number of games to be played in a row
- The number of games to be played in a column
Apart from the several games shown in parallel. If a game ends (whatever is
the outcome) its corresponding game panel is also terminated. To see how the
AI performed so far the GUI also shows some simple statistics (in terms of
won and lost games).
Once the games start, the GUI can be terminated by clicking on any of the
close (x) buttons.