- A simple opengl automatically generated maze-based game.
- Collect randomly placed gems before the countdown timer to win.
- Evil ghosts are added to make it a bit harder :3.
The game is implemented using opengl C++ where the maze grid is dynamically created using DFS (which randomly visits every grid cell only once while keeping previous information in memory). The ghosts are moving randomly in the maze (there's no AI involved, left as future work).
- Human vs Ghosts (collect gems and escape from ghosts)
- Computer mode (ghosts just play against each others where no human involved just watching those random lifeless things :D)
I wanted to check the performance using plain c++ threads instead of event handlers provided by opengl system
- multi-threaded implementation
- using opengl event handlers and timers (recommended)
Caveat: Use visual studio c++ compiler, g++ won't work.