Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.42 KB

README.md

File metadata and controls

25 lines (24 loc) · 1.42 KB

sudoku-solver

Quickstart

  1. Start SudokuSolver.jar from command line: "java -jar SudokuSolver.jar"
  2. New Sudoku can be loaded by inserting it in one line format and pressing the button "Seed".

Example of Sudoku in one line format: ".......6.59.4.1.........3.1.8934....1...6..9...49..5.2.....9426......1..8........"

Program architecture

Program is based on Model–View–Controller architectural pattern. image

Examples

Loading new Sudoku:

Creating a new Sudoku by inserting it in one line format and pressing the button "Seed". image

Resetting Sudoku:

Resetting the Sudoku to its initial loaded state (user changes lost on indexes C4 and C5). image

Solving Sudoku:

Solving the Sudoku and displaying logical steps used with solve speed. image

Getting hints:

Displaying hint in green where Naked Single method can be used. image

Showing conflicts:

Displaying conflicts with Sudoku rules (A5, C6 and C8 indexes are in conflict). image