wip refactoring file structure
This commit is contained in:
26
games/snake/snake.h
Normal file
26
games/snake/snake.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Created by snapshot112 on 15/10/2025
|
||||
*
|
||||
* A game of maze runner build 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 build 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 or ESCAPE to exit the game early.
|
||||
*/
|
||||
void snake(void);
|
||||
|
||||
#endif //MINIGAME_MENU_SNAKE_H
|
||||
Reference in New Issue
Block a user