Skip to content
FifteenGame is a remake of the famouse "game of fifteen" developed in Processing / Java used the IDE of Processing 3.0
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
doc
img
FifteenGame.pde
README.md

README.md

FifteenGame #FifteenGame FifteenGame is a remake of the famous "Game of Fifteen" developed in Processing / Java used the IDE of Processing 3.0.

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 also exists in other sizes, particularly the smaller 8-puzzle. If the size is 3×3 tiles, the puzzle is called the 8-puzzle or 9-puzzle, and if 4×4 tiles, 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 (see diagram) by making sliding moves that use the empty space.

###Interface description. The game interface is very minimal and three colors were mainly used:

  • Green.
  • Light blue.
  • Grey.

In the upper part there is "table" of square shape divided into four rows and four columns for a total of sixteen locations. The various tiles are numbered with numbers ranging from one to sixteen in the case where it is playing with the "numbers" mode. In the lower part instead of buttons are present, and the various details of the game.

The buttons are exctaly four:

  1. Image/Number Mode. Allow to change the game mode between "numbers" and "image". The default image is Lenna.
  2. Load Image. Allow to load image from hard drive.
  3. Restart. Restart the game with a new play.
  4. Quit. Exit of game.

The information about game are:

  • Total Time. Displays the elapsed time in the format minutes / seconds / milliseconds. into the game.
  • Total Moves. Displays the total moves made.
  • Best Time. Displays the best time in seconds.
  • Best Moves. Displays the moves record.

###Screenshot.

FifteenGame FifteenGame

You can’t perform that action at this time.