Access Keys:
Skip to content (Access Key - 0)

Adaptavist Documentation Move

This documentation is deprecated. Adaptavist's documentation has moved to a new location where it is maintained and updated. Please visit Adaptavist's new Documentation area.

sudoku-js macro

Overview:

The {sudoku-js} macro adds a JavaScript Sudoku game in your content...

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. More background information...

In Sudoku, you are presented with a grid which has some tiles filled in with numbers. To complete the game, you must fill all the other tiles with numbers ensuring that each number is used only once per row and column in the main grid. To make things a little more tricky, the main grid is split in to 9 sections and you can only use each number once per section as shown below:

Parameters:

Add the game to your content using the following notation:

{sudoku-js}

The user will be asked to choose a difficulty level and then a random board for that difficulty will be displayed.

Examples:

Hints and Tips:

If you want a more interactive version of the game, check out the sudoku-flash macro.

See Also:



View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence