GUI for Hybrid Sudoku Solver

A simple GUI to solve Sudoku puzzles. Uses both logical and bruteforce methods.
578 Downloads
Updated 19 Nov 2012

View License

--The zip file contains three .M files; they are "Sudoku_GUI2.m", "BruteForce.m" and "SudokuSolver.m"
--Sudoku_GUI2.m is the file that creates the GUI. When the user presses the [Solve] button, the program will call SudokuSolver.m to solve the puzzle, SudokuSolver.m will in turn call Bruteforce.m if necessary to calculate the answer.
--The "hybrid" in the name comes from the fact that the solver uses both logical and bruteforce methods to find the solution.
--You may wish to replace SudokuSolver.m with your own solver. All you need to do is to change one line in Sudoku_GUI2.m Read the file comments for more details.
--"0" can be entered to represent an empty cell.
--The program is smart enough to catch conflicting or illegal entries.
--Using the tab key is a fast way to navigate through the cells.
--Normal newspaper variety puzzles can be solved in under 0.2 seconds. Specially designed "hard" puzzles may take from 2 to 100 seconds to solve. (Results from a P4 3.0 GHz computer)

Cite As

Chi-Hang Kwan (2024). GUI for Hybrid Sudoku Solver (https://www.mathworks.com/matlabcentral/fileexchange/39090-gui-for-hybrid-sudoku-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Sudoku 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