Worms

The player has an animated sprite that cycles through a series of colors. There are other critters with face icons and ‘worms’ made up of worm segments, which are polygon-shaped critters that tag after each other as if playing follow the leader.

If the player touches a worm segment, it reduces the player’s health by 1.

The player’s bullets are small polypolygons.

When a player bullet hits one of the worm segments, the number of sides in the worm segment’s polygon decreases, down to a minimum of three, after which the segment disappears, effectively splitting the worm in two.

The face critters shoot out ‘food’ bubbles at a right angle to the direction towards the player, and the food bubbles avoid the player. The player gains score points ...

Get Software Engineering and Computer Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.