![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: main.h
- Revision:
- 99:4841f326200f
- Parent:
- 87:871d9fecb593
- Child:
- 100:6403c1705a08
diff -r 3061aa318fa2 -r 4841f326200f main.h --- a/main.h Thu May 09 09:59:05 2019 +0000 +++ b/main.h Thu May 09 10:10:10 2019 +0000 @@ -40,11 +40,17 @@ ///////////// prototypes ////////////// +//Initialises main.cpp void init(); +//calls functions using class objects to display menu. void menu(); +//Constantly reads and writes stats from and to the SD card. void read_write_stats(); +//sets game mode and game speed into snakevsblocks class by reading these from startscreen. void _set_mode_speed(); +//this is executed when the player starts the game. void gameLoop(); +//refreshes display and draws game objects using snakevsblock class. void refresh_game(); //void deinit();