./gradlew run //run with default map
./gradlew run --args="file" //run with the map given in the file
in a file you need to have 9 lines and 9 rows with value 1 to 9 for constant in the map For mutable element, you need to put 0
exemple :
01003209 //this is a valid line
When the game start, you can have many options:
- make a move with m/M and give position and value
- undo the move with
u/U - redo the move with
r/R - quit the game with
q/Q - use a solver with
s/S
You can write on each line the position x, then the position y and finally the value.
But you can also write in one line
1 1 9x = 1, y = 1, val = 9
if the value isn't correct for position, it will ask you again to set the good position but if you write in one line multiple, the first correct value will be taken
1 10 1x = 1, y = 1 (val value will be asked after if not written)10 10 4 7 9x = 4, y = 7, val = 9
Have fun