Use R to play sliding puzzle (currently only the Windows screen display).
two dimensional vector, the size of sliding
puzzle. Note: the element of
the background color of blocks.
the matrix of sliding puzzle, if z is specified,
size is specified and
then the function will generate a solvable sliding
puzzle. In addition, the function only works under the
Windows screen display because of the limitation of
Linux/Mac users have to use
X11(type = 'Xlib') or the Cairo
Cairo() in the package
About the sliding puzzle: http://en.wikipedia.org/wiki/Sliding_puzzle
How to Solve a Slider Puzzle: http://www.justadventure.com/articles/Slider/Slider.shtm
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.