A simple maze game. Oh also you can break walls. Oh and it's as big as your terminal.
![image](https://private-user-images.githubusercontent.com/80020581/322040127-843d6f7d-119b-4ae4-ae88-b9cc9331c6c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MjkzOTEsIm5iZiI6MTcxODcyOTA5MSwicGF0aCI6Ii84MDAyMDU4MS8zMjIwNDAxMjctODQzZDZmN2QtMTE5Yi00YWU0LWFlODgtYjljYzkzMzFjNmMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE2NDQ1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0YmUxMmFkMzFiOTY5NjEyYWUwNDY2ZGIwZGI4ZWZjMWM4M2I0NGRlZmFhZWViMzYzMjZkMjUzZGVhY2MyZjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9818ii1nafTCfhrs19_hmosXGogTX6XHGJO7glZwlpg)
Gameplay demo here!
- Randomly generated maze, the size of your terminal
- Directional button minigame
- Breakable walls
- Smooth movement
- Satisfying gameplay
- Save & Load
- Move
- Break
- Finish
- Replay!
- Use
W
/S
/Enter
to navigate main menu - Use
WASD
to move, complet minigames and break walls - Use
P
to save & pause the game
Coding | Elements |
---|---|
Randomly generated mazes | Generation of random game sets or events |
State , lookup |
Data structures for storing game status (e.g., arrays, STL containers) |
map2D** , grid2D** |
Dynamic memory management (e.g., dynamic arrays, linked lists, STL containers) |
Save & load | File input/output (e.g., for loading/saving game status) |
Yep | Program codes in multiple files (recall separate compilation) |
Sure | Proper indentation and naming styles |
Doxygen-like commenting styles for functions, and inline comments for small explanations | In-code documentation |
cd build
make
./game
Notes
- Do NOT resize terminal during game runtime
- Do NOT scroll terminal during game runtime
- Jax (3036268218)
- Kevin (3036274059)
- Sandy (3036222185)
- Hugo (3036225577)
- Kim (3036226789)
- Paul Miller's python maze generator for inspiring and providing logic for our maze generation algorithm.