Chapter 7. Bejeweled

Bejeweled is the first "modern" (its first release was in 2001) game to be discussed in this book. I chose to dedicate the last three chapters of this book to modern games to show you how most modern successful casual games are still relatively easy to code, meaning in this niche of market good ideas prevail over game complexity. Millions of copies of Bejeweled have been sold, and its Facebook version is played by a million people every month.

The game is played on a 8x8 grid with 64 gems of seven different kinds placed over it. The objective is to swap one gem with an adjacent gem to form a horizontal or vertical streak of three or more gems. These gems then disappear and new ones fall from the top to fill in gaps.

In this ...

Get Flash Game Development by Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.