Fifteen – Sliding Tiles – Puzzle Game




Fifteen is a 15-puzzle (also called Gem Puzzle, Boss Puzzle, Game of Fifteen, Mystic Square and many others).

It’s a sliding 4×4 puzzle that consists of a frame of numbered square tiles in random order with one tile missing. The inventor of puzzle is often credited to Noyes Palmer Chapman, a postmaster in Canastota, New York. The puzzle’s popularity peaked in the 1930s.

To play the game, the tiles are first scrambled. You must try to put them back in order. To move a tile you simply click on it. The only tiles you can move are those adjacent to the hole. The goal is to reposition the squares from a given arbitrary starting arrangement by sliding them one at a time. The aim is to end up with the tiles in numerical order, with the space in the bottom right (so that the top row reads 1,2,3,4 and the bottom row reads 13,14,15,space).

Besides the standard 4×4 puzzle, Fifteen gives users the option to create a custom width/height combination.

Below is a short tutorial showing you how to download and compile the latest source code for this game, and the other 38 games in the puzzle collection. The tutorial takes place in Linux, using the Ubuntu 17.10 distribution, but the procedure will be the same, or very similar, for other Linux distributions. If you find the tutorial helpful, please give the video a like and subscribe to our YouTube channel.

Besides the main 3 operating system, the puzzle collection has also been ported by contributors to Palm, Android, Symbian 60, iPhone, iPad, and the Windows Store.

Developer: Simon Tatham, Richard Boulton, James Harvey, Mike Pinna, Jonas Kölker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd Schmidt, Steffen Bauer, Lennard Sprong, and Rogier Goossens
License: MIT
Written in: C, Java, JavaScript

Back to the Puzzle Collection