This project is a simple snake game written in C++, but with three different GUIs loaded as dynamic libraries which are used to render the game. The goal is to make each GUI behave like an independent plugin and keep all renderering/graphics logic out of the main executable.
- A wireframe 2D GUI
- A textured 2D GUI
- A 3D (all primitives) GUI
- Seamless switching between GUIs with 1-3 keys
- Scoring system
- Pause menu
- Gameover screen with Restart
- Obstacles
- Music and Sounds
- Resizable window
Move with arrow keys
Pause with esc key
Switch to respective renderer with 1, 2, 3 keys
Run "make" and an executable will be created. Type "export DYLD_LIBRARY_PATH=lib" to set up the env. Run "./Nibbler" and enjoy the game!