Yet Another SUDOKU GUI/Solver

GUI for sudoku with optional semiautomatic and automatic solver
1.8K Downloads
Updated 16 Jan 2007

View License

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
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Signal Processing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Fixed a small bug - thank you, John