Got the minigame menu up, running and documented. Also split up the game file
This commit is contained in:
39
maze_runner.h
Normal file
39
maze_runner.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Naam: Jeroen Boxhoorn
|
||||
* UvAnetID: 16333969
|
||||
* Studie: BSc Informatica
|
||||
*
|
||||
* 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 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 configured to run 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 to exit the game early.
|
||||
*/
|
||||
void maze_runner(void);
|
||||
|
||||
#endif //MINIGAME_MENU_MAZE_RUNNER_H
|
||||
Reference in New Issue
Block a user