Agent(s) implementing strategy described in my SoME submission. Runs on Python 3.10.
flag | shorthand | type | default | description |
---|---|---|---|---|
--seed |
-s |
int |
N/A | Specifies the global seed for both the game board and agent. |
--board-seed |
N/A | int |
N/A | Specifies the seed for the game board. |
--agent-seed |
N/A | int |
N/A | Specifies the seed for the agent. |
--agent |
-a |
"simple" | "set" |
"set" |
Selects the agent used to play the game. |
--difficulty |
-d |
"beginner" | "intermediate" | "expert" |
"expert" |
Selects the difficulty of the board using standard game defaults. |
--rows --height |
-r -H |
int |
16 |
Specifies the number of rows of the game board. |
--columns --width |
-c -W |
int |
30 |
Specifies the number of columns of the game board. |
--mines |
-m |
int |
99 |
Specifies the total number of mines in the game board. |
--coloured |
-C |
N/A | N/A | Enable board colouring in game board previews. Has no effect unless verbosity is set high enough. May not work in certain terminal / interpreter combinations. |
--verbosity |
-v -vv -vvv |
int |
0 |
Increases output verbosity. -v shows individual agent successes, -vv shows the final layout of the game board, -vvv shows the game board after each move. |
--show-mines |
N/A | N/A | N/A | Shows all mines present in the game board in previews. Has no effect unless verbosity is set high enough. |
--show-strategy |
N/A | N/A | N/A | Highlights cells indicating the strategy of the currently playing agent. Has no effect unless verbosity is set high enough. May not work in certain terminal / interpreter combinations. |
--play-count |
N/A | int |
1 |
Specifies the number of times the agent should play. |
--step-by-step |
N/A | N/A | N/A | Enable pausing the game at each step in the agent's strategy. Operation continues at each press of the return key. |
--first-safe |
N/A | N/A | N/A | Ensure the first tile clicked cannot be a mine. |
--manim-src |
N/A | filepath |
N/A | File location for generated manimation source file for this game. |
--cell-graphic-path |
N/A | filepath |
"./graphics/cell.svg" |
File location for cell graphic used in the generated manimation source file. |
--flag-graphic-path |
N/A | filepath |
"./graphics/flagged.svg" |
File location for the flagged cell graphic used in the generated manimation source file. |
--mine-graphic-path |
N/A | filepath |
"./graphics/pressedmine.svg" |
File location for the mine graphic used in the generated manimation source file. |