Sudoku Solver (Unity)
๐งฉ Sudoku Solver (Unity)
A 2D Sudoku solver built with Unity, focused on algorithmic problem-solving, optimization, and clean game-logic design.
This project explores how different solving strategies behave in real time, from classic backtracking to optimized constraint-based approaches, while keeping the application responsive using Unity coroutines.
๐ See the github page for more informations: https://github.com/nflan/Sudoku_Solver
๐ฏ Project Purpose
This project was created as a learning and portfolio project with three main goals:
-
Revisit and correctly implement backtracking algorithms
-
Explore faster and smarter alternatives to brute-force solving
-
Strengthen Unity development skills through UI, logic separation, and visual feedback
๐ง How the Solver Works
The application includes multiple solving strategies:
๐น Basic Backtracking
-
Recursive depth-first search
-
Tries numbers left-to-right
-
Guaranteed to find a solution if one exists
-
Serves as a correctness baseline
๐น Optimized Solver
-
Uses MRV (Minimum Remaining Values) heuristic
-
Applies constraint propagation
-
Detects impossible configurations early
-
Significantly reduces search time compared to brute force
Both solvers run using Unity coroutines, ensuring the UI stays responsive even on complex or unsolvable grids.
โจ Features
-
Interactive Sudoku grid
-
Manual number input
-
Multiple solving algorithms
-
Detection of impossible Sudoku configurations
-
Non-blocking solving with visual feedback
-
Clear separation between UI and solver logic
๐ Tools & Technologies
-
Unity 2D
-
C#
-
Coroutine-based execution
Custom backtracking & constraint logic
๐ Notes
This project focuses on clarity, correctness, and learning, rather than raw performance alone.
All algorithms are implemented from scratch to better understand their behavior and limitations.
๐ See the github page for more informations: https://github.com/nflan/Sudoku_Solver
| Published | 27 days ago |
| Status | Released |
| Platforms | HTML5 |
| Author | Nicolas FLAN |
| Genre | Puzzle |
| Made with | Unity |
| Tags | solver, sudoku, sudoku-solver |

Leave a comment
Log in with itch.io to leave a comment.