|
Man Over Board
|
Defines the events that modify the game objects and game state. More...
#include "model.h"Functions | |
| void | start_game (Model *model) |
| void | tick_increment (Model *model) |
| Enacts synchronous events. Sinks the swimmer. | |
| void | key_press (char key) |
| Checks if the correct key is pressed, changes game state if so. Increases the score, raises the swimmer, and shifts the row's character pointer when the correct key is pressed. | |
| void | death () |
Defines the events that modify the game objects and game state.
Group B: Thomas Kapocsi, Sylvie Mills
| void death | ( | ) |
Ends the game when the swimmer collides with the floor
| void start_game | ( | Model * | model | ) |
Sets up the intial game state