# Mozilla Demo Studio

# n-puzzle

This game is basic implementation of n-puzzle problem.

# More About This Demo From The Author

This is a simple game written in javascript. The n-puzzle is a classical problem for modelling algorithms involving heuristics.The 15-puzzle (also called Gem Puzzle, Boss Puzzle, Game of Fifteen, Mystic Square and many others) is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing, the puzzle is called the 15-puzzle or 16-puzzle named, respectively, for the number of tiles and the number of spaces. The object of the puzzle is to place the tiles in order by making sliding moves that use the empty space.

## 1 comment so far

Log in to add your own.

dj0 said,

Posted