A tutorial on creating a SameGame Engine in Phaser.
Emanuele Feronato has published a new tutorial on creating a SameGame engine in Phaser: "According to this Wikipedia page , SameGame is a tile-matching puzzle video game originally released under the name “Chain Shot!” in 1985 by Kuniaki Moribe (Morisuke). It has since been ported to numerous computer platforms and handheld devices.
Its simple game mechanic is perfect to introduce tile based matching games: SameGame is played on a rectangular field, typically initially filled with four or five kinds of blocks placed at random. By selecting a group of adjoining blocks of the same color, a player may remove them from the screen. Blocks that are no longer supported will fall down, and a column without any blocks will be trimmed away by other columns always sliding to one side (often the left). The goal of the game is to remove as many blocks from the playing field as possible."