forked from snapshot112/minigame-menu
wip refactoring file structure
This commit is contained in:
34
main.c
Normal file
34
main.c
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Created by snapshot112 on 15/10/2025
|
||||
*
|
||||
* Naam: Jeroen Boxhoorn
|
||||
* UvAnetID: 16333969
|
||||
* Studie: BSC Informatica
|
||||
*
|
||||
* A minigame menu that lets you play games on the grid game engine.
|
||||
*
|
||||
* Currently the following games are included:
|
||||
* - maze runner
|
||||
* - snake
|
||||
* - minesweeper
|
||||
*
|
||||
* A user manual can be found in the assets or by selected it in the menu using ENTER or 'f'.
|
||||
*/
|
||||
|
||||
#include "engine/grid_game_engine.h"
|
||||
#include "games/minigame-menu/minigame_menu.h"
|
||||
|
||||
/*
|
||||
* Play minigame menu.
|
||||
*
|
||||
* Side effect:
|
||||
* Minigame menu starts.
|
||||
*/
|
||||
int main(void) {
|
||||
init_engine();
|
||||
|
||||
// Speel het spel.
|
||||
minigame_menu();
|
||||
|
||||
cleanup_engine();
|
||||
}
|
||||
Reference in New Issue
Block a user