A sudoku solver, written in Rattlesnake
The grid must be hardcoded in src/main.rsn
. To run the solver, run make
in terminal (the default target of the Makefile triggers the compiler via a Python script). Can also be done by manually running the compiler jar file:
java -jar Rattlesnake.jar run src/main.rsn src/solver.rsn src/grid.rsn src/grid_check.rsn src/util.rsn
To run the tests, run make test
in the terminal, or alternatively:
java -jar Rattlesnake.jar test src/tests.rsn src/solver.rsn src/grid.rsn src/grid_check.rsn src/util.rsn
.vscode/settings.json
contains settings to (approximately) highlight Rattlesnake syntax using the Highlight Visual Studio Code extension.