Classic Sliding Tile Puzzle

This was a very enjoyable project for me and is a part of a much larger fun project that I decided to start working on which is one of those “Escape the Room” style of games.

This will be one of those puzzles you need to solve in order to successfully get out.

Many of you have probably seen one of those cheap plastic puzzles where you need to basically unscramble the numbers and have them all in the correct order.
This is done by sliding the tiles around until you have them all in the correct position.

Here is my rendition of the classic sliding tile puzzle.
Have fun!

Basic Theory of Operation

The project is made up of 17 variables. Sixteen of them are basically location variables to track which tile is in which spot in the grid. One additional variable is used to specifically track the one grid square that is currently open.

Read the full story by


Drag and Drop – item on click moves to target Memes & Scavenger Hunts: Ten Ways to Improve Your L&D Program on a Budget (Includes Webinar Recording & Slides)
We are updating our Privacy Policy, so please make sure you take a minute to review it. As of May 25, 2018 your continued use of our services will be subject to this new Privacy Policy.
Review Privacy Policy OK