forked from snapshot112/minigame-menu
wip refactoring file structure
This commit is contained in:
41
games/maze-runner/maze_runner.h
Normal file
41
games/maze-runner/maze_runner.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Created by snapshot112 on 6/10/2025
|
||||
*
|
||||
* Naam: Jeroen Boxhoorn
|
||||
* UvAnetID: 16333969
|
||||
* Studie: BSC Informatica
|
||||
*
|
||||
* A game of maze runner build on the grid game engine.
|
||||
*
|
||||
* Please make sure to include and initialize the game engine before calling maze_runner();
|
||||
*
|
||||
* How to play the game:
|
||||
* - You are the '*' character.
|
||||
* - Use either WSAD or the arrow keys to navigate through the maze.
|
||||
* - The exit of the maze is marked with a '$'.
|
||||
* - Walls are '#'.
|
||||
* - Traps are 'X'. These kill you.
|
||||
*
|
||||
* You can quit the program at any time by pressing CTRL + C.
|
||||
*
|
||||
* Have fun playing!
|
||||
*/
|
||||
|
||||
#ifndef MINIGAME_MENU_MAZE_RUNNER_H
|
||||
#define MINIGAME_MENU_MAZE_RUNNER_H
|
||||
|
||||
/*
|
||||
* A game of maze runner build on the grid game engine.
|
||||
*
|
||||
* Please make sure to include and initialize the game engine before calling maze_runner();
|
||||
*
|
||||
* Side Effects:
|
||||
* Clears the console and uses it to play a game of maze runner.
|
||||
*
|
||||
* Controls:
|
||||
* use WSAD or arrow keys to move through the maze.
|
||||
* Use BACKSPACE or ESCAPE to exit the game early.
|
||||
*/
|
||||
void maze_runner(void);
|
||||
|
||||
#endif //MINIGAME_MENU_MAZE_RUNNER_H
|
||||
Reference in New Issue
Block a user