I've come across this interesting project: https://sourceforge.net/projects/sudoku-explainer/
This is yet another Sudoku Explainer [clone] (for the GUI bits) with a HoDoKu engine under the bonnet - hobiwan's 'HoDoKu - v2.3.0 beta (Build 126)' as a HoDoKu.jar is included.
If you download the file: DiufSudoku_V6_30.089.2020-09-12.7z and unpack - this appears to be a snapshot of the developer's DiufSudoku folder. The default mode for dist\DiufSudoku.jar is to run in command line mode for solving puzzles (similar to serate) - there is copious output!
To bring up the GUI, switch to the 'dist' folder and run this:
- Code: Select all
java.exe -cp DiufSudoku.jar diuf.sudoku.gui.SudokuExplainer DiufSudoku.log
The GUI will be familiar, but some menu options are different.
The project summary (from sourceforge):
- Code: Select all
Sudoku Explainer
Sudoku Explainer Java (Swing) GUI explains how to solve Sudokus
Brought to you by: wookie2u2
Keith Corlett's Sudoku Explainer is a Java (Swing) GUI based on DIUF Sudoku Explainer by Nicolas Juillerat (substantially rewritten) with hinters from HoDoKu by Bernhard Hobiger.
SE explains the simplest possible solution to a Sudoku puzzle. SE is damn fast (-SPEED top1465.d5.mt in about 1 minute). SE can solve any Sudoku puzzle.
SE generates basic (human solvable) Sudoku puzzles, but takes kenages to generate difficult Sudokus. It cannot (except by pure happenstance) generate really difficult puzzles (left to the boffins) but it can solve ANY Sudoku puzzle.
WARNING: My coding ethos puts speed of execution before maintainability, so several pieces of code implement the same pattern, which makes it a pain in the arse to maintain, because any lessons learned must be applied in multiple classes.
SE still has a few bugs, and probably many more that I remain unaware of. Like all open-source software, it's a work in progress. This code is free, without any warranty.
Features:
Solves ANY Sudoku puzzle
Fast
Basic Generator
Unmaintainable code