Yet Another SUDOKU GUI/Solver
Inspired by a discussion with my father on how to solve sudokus, I decided to implement a GUI for MATLAB and play around with automatic solving. The result can be found here: You can use the GUI just for playing sudoku and having an online check or you may turn on the solving aids: Display tooltips showing all valid numbers so far, or have a semiautomatic or a automatic solver which evaluates the logical constraints. On top of that, a branching algorithm is implemented, which solves any arbitrary sudoku very fast. This algorithm will not check, whether this solution is unique, but it is guaranteed, that the solution found is valid.
This program has a history-function, i.e. you can undo and redo each single step. You can also save and load a score including all settings (execpt for the branching solver). New games can be imported either as ASCII-string or from sdm- or sdk-files respectively. Lots of Puzzles in ASCII-Format or as sdm- or sdk-file respectively can be found e.g. on http://www.sudocue.net/
Sudoku comes as a single m-file. In the zip-archive both a German and a English version are included.
Cite As
Matthias Schwaiger (2024). Yet Another SUDOKU GUI/Solver (https://www.mathworks.com/matlabcentral/fileexchange/13654-yet-another-sudoku-gui-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing >
- Gaming > Number games > Sudoku >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Fixed a small bug - thank you, John |