The goal of this sudoku solver is to define various strategies that I've been learning about here.
The strategies that this sudoku solver supports can be found in Strategies.res.
The input to the program (i.e. the unsolved sudoku) is hard coded in Solver.res. Sudukus are represented by a flat array of numbers, where 0
represents the absence of a number.
To customize the strategies being applied when solving, edit Solver.res.
sudoku
->easyStrategies
->mediumStrategies
->hardStrategies
->Utilities.toRows
->Js.log
npm install
- Build:
npm run res:build
- Clean:
npm run res:clean
- Build & watch:
npm run res:dev
npm run solve