cartoon face
Sudoku Solver

This is a Sudoku Solver I wrote, using Python.

It implements a backtracking algorithm, which you can consider to be a 'refined' way of brute-forcing. It emulates how a human might decide to solve it, except in much quicker time.

The sudokus are stored in .sudoku filetypes, which are essentially text files with a fancier extension name: stored as a 9x9 grid of numbers (9 lines of 9 characters).

The speed of the visualisation can be adjusted by changing the value of the SPEED variable. For the example above, a value of 100 was used - meaning 100 milliseconds between each action.

Click here to visit the GitHub Repository.

</> with ♥
Jon Linkens 2022