Enter the world of Sudoku.

This program does all things Sudoku related. It generates them, solves them, and even lets you play!

Watch as the program generates fresh Sudoku puzzles for you in real time, and feel like you're hacking into some kind of computer system. Go on, just press 'G'.

Controls:

  • 'G' to generate a new puzzle.
  • 'E', 'M', 'H', and 'D' to change the generated puzzle difficulty level (Easy, Medium, Hard, Death).
  • 'R' to refresh the program and clear everything (useful if puzzle generation is taking too long).
  • 'S' to solve the current puzzle.
  • Enter your own numbers by hovering your mouse over a square and pressing a number from '1' to '9'. Use '0' to clear a square.

Trivia:

  • Uses a backtracking algorithm for generating a new Sudoku puzzle.
  • Uses Knuth's Dancing Links algorithm (DLX) to solve Sudoku puzzles as an exact cover problem.

Leave a comment

Log in with itch.io to leave a comment.