Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/forentfraps/sudoku-solver

Sudoku recursive solver
https://github.com/forentfraps/sudoku-solver

Last synced: 25 days ago
JSON representation

Sudoku recursive solver

Awesome Lists containing this project

README

        

# Sudoku recursive solver in python

## Few words about the project

### The original idea was to implement a collection of "fair" methods. However, it turned out to be completely impractical and non-trivial, although results were promising, I decided to do a simple recursive solution. Inspiration was drawn from a paper explaining wave function collapse, thus the collapse function looks over engineered.

## Some description

### Code is (obviously) capable of solving any possible sudoku arrangement. For easier use, user is advised to import via the test.txt (better explained in the __init__ ()). As an example I found the most difficult sudoku (it is in the test.txt already). I will also use my ability to post some screenshots :-)

![image](https://user-images.githubusercontent.com/29946764/175162114-029740ba-ac6d-4618-b9fe-06eada97e780.png)

![image](https://user-images.githubusercontent.com/29946764/175159364-aa02dd72-e179-4c91-9588-30b2c434389e.png)