Skip to content

Vegter/SudokuSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Solver

A simple Sudoku Solver in React - Typescript.

The application can be found at https://vegter.github.io/SudokuSolver.

The application can solve:

  • Regular 9x9 Sudokus with row and column constraints, as well as 3x3 area constraints.
  • NRC Sudokus with additional area constraints

The application solves the Suduko by straightforward application of it's constraints.

Project Organization

The Sudoku code is stored in the types folder.

The Sudoku presentation components can be found in the components folder.

Presentation components only contain presentation logic. All logic is coded in classes that can be found in the types folder.

Extensive tests are available in the types folder to test the logic with 100% Code Coverage.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn test --watchAll=false --coverage

Launches the test runner to produce a test coverage report

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn deploy

Deploys the website on Github.

About

Simple Sudoku Solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published