In the 1970's there was this arcade game, centipede. The game is simple and addictive for the times. Moving a growing centipede all over the screen trying to eat up all the mushrooms that you can without running into yourself.
Multipede is similar in objective. Using simple controls, move a multipede through a forest of mushrooms, growing longer each time one is eaten. The object is to eat all the mushrooms without running into your own body, or into any of the skulls that are sprinkled throughout the forest.
Up Arrow - Move up the screen
Down Arrow - Move down the screen
Left Arrow - Move to the left
Right Arrow - Move to the right
Once you change your direction, you will continue on that path until you press another key to change again.
In addition you can use a joystick plugged into the lower joystick port for movement. Right, left, up, down, move the snake in the specified direction. Using a gamepad with a thumb control works better than a flight stick type of joystick.
This particular modularization of the program makes it relatively easy to change any of the modules without affecting the others. For example, if you want to change the look of the icons that make up the snake, you can do it and none of the other parts of the program will change.
Class | Description |
GameEngine | The main application subclass |
GameState | The game state |
GameView | The game presenter/ window |
pixel_buffer | A pixel buffer base class |
ICONmushroom | Icon of a mushroom |
ICONempty | Icon of blank space |
ICONsnake | Icon of snake body section |
ICONhdup | Icon of snake head pointing up |
ICONhdright | Icon of snake head pointing right |
ICONhddown | Icon of snake head pointing down |
ICONhdleft | Icon of snake head pointing left |
ICONkiller | Icon of skull |
ICONheart | Icon of heart |