*All entries must be single-digit numbers between 1 and 9

Welcome to my Sudoku Solver!

This is a passion project made by me in my free time! It is still a work in progress and will continuously be updated as I improve and build upon the solving algorithm. The current code for this project can be found here.

How does it work?

This Sudoku solver uses a non-brute-force algorithm to solve a standard 9x9 Sudoku board using popular Sudoku solving techniques to find and eliminate possibilities and fill cell values. Currently, the methods implemented are:

  • Naked Singles
  • Hidden Singles
  • Naked Pairs
  • Hidden Pairs
  • Pointing Pairs
  • Claiming Pairs
  • X-Wing
  • Y-Wing
  • Swordfish
  • Naked Triplets
  • Hidden Triplets
  • Pointing Triplets

Notes:

1. This algorithm only solves puzzles with one possible solution, not multiple.

2. This algorithm only solves puzzles completable using the implemented methods listed above.