Skip to content

icecream17/solver

Folders and files

NameName
Last commit message
Last commit date
Oct 26, 2024
Feb 17, 2025
May 3, 2023
Nov 8, 2024
Feb 26, 2024
Sep 28, 2021
Oct 17, 2021
Dec 17, 2021
Feb 17, 2025
Nov 8, 2024
May 22, 2021
Jan 9, 2022
Sep 20, 2024
Aug 24, 2024
Sep 24, 2021
Aug 24, 2024
Oct 25, 2021
Feb 17, 2025
Apr 6, 2023
Nov 17, 2021
Nov 17, 2021
May 27, 2021
Feb 18, 2025

Repository files navigation

solver

codecov build CodeFactor

A simple sudoku solver I made. This is inspired by https://sudokuwiki.org/.

how to install / starting development

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

file structure

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.

Idea: Separate this repo into 4 packages

  1. core / shared stuff
  2. sudoku (and related react components)
  3. solver api
  4. website (all combined together)

Plus, at some point I'd want to support variants: https://github.com/dclamage/SudokuSolver

yarn

This project uses yarn. It's probably also possible to install with npm.

Silly dependency note

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.

Node version

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.

About

A sudoku solver using logical strategies made with create react app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published