Got the minigame menu up, running and documented. Also split up the game file
This commit is contained in:
		
							
								
								
									
										26
									
								
								snake.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								snake.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| /* | ||||
|  * Created by snapshot112 on 10/15/25. | ||||
|  * | ||||
|  * A game of maze runner configured to run on the grid game engine. | ||||
|  * | ||||
|  * Please make sure to include and initialize the game engine before calling snake(); | ||||
|  */ | ||||
|  | ||||
| #ifndef MINIGAME_MENU_SNAKE_H | ||||
| #define MINIGAME_MENU_SNAKE_H | ||||
|  | ||||
| /* | ||||
|  * A game of snake configured to run on the grid game engine. | ||||
|  * | ||||
|  * Please make sure to include and initialize the game engine before calling snake(); | ||||
|  * | ||||
|  * Side Effects: | ||||
|  * Clears the console and uses it to play a game of snake. | ||||
|  * | ||||
|  * Controls: | ||||
|  * Use WSAD or arrow keys to redirect the snake. | ||||
|  * Use BACKSPACE to exit the game early. | ||||
|  */ | ||||
| void snake(void); | ||||
|  | ||||
| #endif //MINIGAME_MENU_SNAKE_H | ||||
		Reference in New Issue
	
	Block a user