Playable Sudoku Game

Use this Demonstration to create random Sudoku games that you can play using simple mouse clicks. Games are of moderate difficulty, about the same challenge level as those commonly available in newspapers and magazines.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


This Demonstration was developed as a learning exercise in using the Mathematica Association data structures, Grid function and EventHandler.
A Sudoku game is guaranteed to have a single unique solution. Solutions have a single digit value (1 through 9) in every square, with no repeated values in any given row, column, or 3×3 block.
To play the game, use your mouse to select an empty square on the Sudoku board, then click the box below with the desired digit for that square. Use the blank square to erase an entry, or click a different digit to change an entry.
To show the (unique) solution for the current game, click the "show solution" checkbox. To start a new game, click the "new game" button.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.