A simple sudoku solver I made. This is inspired by https://sudokuwiki.org/.
Install node, it comes with npm.
Try npm -i npm@latest
to update npm -- if there's a "not recognized" error, search stackoverflow about adding node to path.
npm -i yarn
yarn
Congrats! You've installed all the depedencies!
You can try the current dev code with yarn start
Hopefully the folders are helpful and the code is clear enough.
If you have any feedback feel free to post an issue or something.
For example, the actual code is in src\
, and the strategies are in src\Api\Strategies
.
- core / shared stuff
- sudoku (and related react components)
- solver api
- website (all combined together)
Plus, at some point I'd want to support variants: https://github.com/dclamage/SudokuSolver
This project uses yarn. It's probably also possible to install with npm.
This projects is compatible with its latest dependencies' versions, though sometimes I didn't bother to make it not compatible with older versions.
And even then, sometimes those dependencies themselves aren't updated.
Current status: ➤ YN0001: No audit suggestions
You can run yarn install
and then yarn npm audit
for the full report.
This project does not seem to use node, but just in case, this uses Set.prototype.isSubsetOf
, so your node version must be >=22.0.0
.
Also, @types/node
is usually on one of the latest versions, since github actions eventually deprecates old versions of node. If @types/node
is incompatible with an earlier version of node, you can try downgrading the dependency, or post an issue if it doesn't work. Alternatively, if you're on gitpod run nvm install 16
or higher.