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.
Tags: Adobe Captivate • Blog • javascript • Tips and Tricks