Games

c42-fig-5001.jpg

Immaterial Game

Design a game that requires no materials, such as one you might play on a car ride or on a long walk. Your game should require at least two players.1

c42-fig-5002.jpg

Collision Detection

Write code that moves two circles around the screen in an unpredictable way. (Consider using something like Perlin noise.) When they overlap, have them indicate this by changing color.

c42-fig-5003.jpg

Whack-a-Mole

Create a game in which animals or objects appear and disappear abruptly on the screen, and a player has to click on them to score points.2

c42-fig-5004.jpg

WASD Navigation

Implement a control system for the movement of an avatar using the WASD keyboard keys.

c42-fig-5005.jpg

Recoding a Classic

Recreate a classic arcade game such as Pong, Snake, Tetris, or Space Invaders. Alternatively, modify a classic arcade game (code for which is readily found); your mod should introduce a twist or subvert the game in some way.3

c42-fig-5006.jpg

Physics Fun

Create or borrow the code for an organic-looking simulation, such as a bouncing ball or a springy particle system. Now turn it into a game.4

c42-fig-5007.jpg

Level Designer

Design a data format to represent maps in a dungeon game. Use a system of tiles so that each map combines tiles of different kinds (e.g., walls, paths, water, treasure). Create a “level design tool” that allows a user to choose, place, and save map data.5

Notes