|
|
| This plugin now accessable through the Confluence Repository Client. |
Description
The name "Sudoku" is the Japanese abbreviation of a longer phrase meaning the "digits must remain single"; it is a trademark of puzzle publisher Nikoli Co. Ltd in Japan. Other Japanese publishers refer to the puzzle as "Nanpure" (Number Place), which was its original title.
The basic premis of Sudoku is that you need to fill a tile with numbers as shown below:

In the main grid, you can only use each number once per row and column. In each of the 9 smaller grids you can only use each number once. Depending on the difficulty level you choose, there will be a varying number of tiles already filled in with numbers (as shown with darker backgrounds). Your challenge is to fill in the remaining tiles without breaking the rules.
Online Documentation
You can find documentation for these macros (and also try them) on our website: http://www.adaptavist.com/display/USERGUIDE/Games
{sudoku}
This creates a Sudoku game with the default interface (currently flash). If you prefer to choose a user interface other than the default, then use one of the other macros described on this page.
{sudoku-flash}
Note: currently the {sudoku-flash} macro is essentially just an alias for {sudoku}
This embeds a Flash version of the Sudoku game (as shown in the picture above) in your content and asks you to choose a skill level. When the game starts, so does the clock! As the time ticks closer to the current high score, the clock will go orange, and once you've missed the high score the clock will turn red.
The grid can be filled in using either the keyboard (cursor keys, numbers 1-9 and space to clear) or the mouse. To use the mouse, click any cell and then use the "mouse dial" to choose a number. There's also a "guess" option which allows you to mark your ideas for possible matching numbers within a tile.
One of the main advantages of the Flash version of the game is that you can choose from a somewhat insane range of tile sets to make the game even more difficult:
|
|
|
Be kind to the egg heads! |
|
|
|
Ningas and Farm Animals Unite! |
|
|
|
|
|
|
Here's an example of the "Ninja Farm" tile set:

{sudoku-js}
This outputs an interactive Sudoku board using JavaScript with AJAX used for server communications for use where flash isn't available or is just not preferred. The JavaScript interface is the reference implementation for this macro, and as such is fully featured but does not contain the bells and whistles that the other interfaces may.

{sudoku-printable} macro
This macro outputs a random, printable Sudoku board for the specified skill level:

{sudoku-highscores}
This macro outputs a high score table, split between "Easy", "Normal" and "Hard" levels for the games played within a space.
You can also output a personal leaderboard showing the scores for a specific user.
{sudoku-logo}
This macro displays the Sudoku logo, ideal for use on instruction pages or the high scores page.



Comments (1)
Mar 24, 2006
Andreas Deimer says:
Great stuff! Folks, please vote for SUD-13 in order to support more than 5 ...Great stuff!
Folks, please vote for SUD-13 in order to support more than 5 Sudoku puzzles.
Thanks a lot!
Andreas