Skip to content

Files

Latest commit

17292be · Dec 2, 2023

History

History

Sudoku

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 2, 2023
May 31, 2023
Dec 2, 2023

Sudoku

GitHub repo Language C# Target Framework Build Discord License

You can play this game in your browser:
Play Now
Hosted On GitHub Pages

Sudoku is a randomly generated number puzzle game.The goal is to fill in the entire board with the numbers 1 through 9. However, you cannot duplicate the values within the same row, column, or 3x3 square.

╔═══════╦═══════╦═══════╗
║ 7 6 2 ║ 9 1 5 ║ 8 4 3 ║
║ 5 4 3 ║ 7 8 6 ║ 2 1 9 ║
║ 9 1 8 ║ 2 3 4 ║ 5 7 6 ║
╠═══════╬═══════╬═══════╣
║ 4 3 1 ║ 5 9 8 ║ 7 6 2 ║
║ 6 2 5 ║ 4 7 3 ║ 1 9 8 ║
║ 8 7 9 ║ 1 6 2 ║ 3 5 4 ║
╠═══════╬═══════╬═══════╣
║ 3 9 6 ║ 8 5 1 ║ 4 2 7 ║
║ 1 8 4 ║ 6 2 7 ║ 9 3 5 ║
║ 2 5 7 ║ 3 4 9 ║ 6 8 1 ║
╚═══════╩═══════╩═══════╝

Input

  • , , , : change the selected cell
  • 1, 2, 3, 4, 5, 6, 7, 8, 9: insert a value into the current cell (if the move is valid)
  • delete, backspace: remove values from the board
  • end: generate a new puzzle
  • enter: confirm
  • escape: exit game

Notes

At the top of the source code you will see compiler directive(s):

  • #define DebugAlgorithm: Uncomment this directive and you can watch the sudoku generation algorithm step-by-step.

Downloads

win-x64

linux-x64

osx-x64