"One of the best things you can do when you’re into game design or into programming more in general, is to reuse your code, as much as you can.
Following this rule, today I am going to show you how to make some small changes to the Dungeon Raid HTML5 engine to create a prototype of iOS “Dots” game.
In this #1 game in 23 countries, the game engine differs from Dungeon Raid prototype for only two reasons:
-
You can only select tiles horizontally and vertically, but not diagonally, like I showed you in HTML5 Dungeon Raid tile engine made with Phaser – Part 4.
-
You can draw a 2×2 square, in this case all tiles with the same color of the current color will disappear.