This game is basic implementation of n-puzzle problem.

建立方法 JavaScript, HTML5, CSS3, Offline Support, Fonts & Type

  • 132 個檢視數
  • 1 條回應

作者所寫的更多關於此 Demo 的資訊

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 條回應

Log in to add your own.

  1. dj0 說,

    Sliding puzzle solution (click on empty field):

About this Demo

下載原始碼 3.23 KB · ZIP 格式

Browse the Source

此 demo 係以 GPL 條款進行授權。