O'Reilly logo

Android NDK Game Development Cookbook by Viktor Latypov, Sergey Kosarevsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing the match-3 game

Now it is time to start the development of a finished match-3 game. A match-3 is a type of puzzle where a player needs to align tiles in order to make adjacent tiles disappear. Here, 3 stands for the number of same-color tiles that will disappear when put into adjacent positions. The following screenshot is of the final version of the game:

Writing the match-3 game

We use a set of 22 monomino, domino, tromino, tetromino, and pentomino shapes in our game:

Writing the match-3 game

Since most of the impressions come from the results visualized on-screen, let us proceed with the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required