You can play this game in your browser:
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 ║
╚═══════╩═══════╩═══════╝
↑
,↓
,←
,→
: change the selected cell1
,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 boardend
: generate a new puzzleenter
: confirmescape
: exit game
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.