O'Reilly logo

The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games by Evan Burchard

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

Chapter 4. Puzzle

In games such as Bejeweled, Snood, and Tetris Attack, the player’s goal is to match up blocks of color as quickly as possible using simple mechanisms to add, remove, move, and switch blocks. This genre is a popular format for casual web games but appears in other places as well.

One unique feature of these games is that they are relatively easy to build. Beyond simplifying their development as standalone games, this also uniquely positions them as puzzles or embeddable minigames in larger form games. On the Super Nintendo console system, Lufia 2 is especially notable for making heavy use of dungeon puzzles involving pushing around colored blocks. A more familiar example might be the Legend of Zelda series, which consistently ...

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