Thanks to visit codestin.com
Credit goes to github.com

Skip to content

van3ll0pe/sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku

launch the game

./gradlew run //run with default map
./gradlew run --args="file" //run with the map given in the file

MAP

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

How to play

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

input move

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 9 x = 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 1 x = 1, y = 1 (val value will be asked after if not written) 10 10 4 7 9 x = 4, y = 7, val = 9

Have fun

About

Sudoku game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages