Skip to content

Snake game with three different GUIs made in OpenGL and loaded as dynamic libraries.

Notifications You must be signed in to change notification settings

dylanmpeck/Nibbler

Repository files navigation

Nibbler

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.

Features

  • 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

Controls

Move with arrow keys

Pause with esc key

Switch to respective renderer with 1, 2, 3 keys

Running and Compiling

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!

Click for Gameplay Demo

IMAGE ALT TEXT HERE

Screenshots

alt-text alt-text alt-text

About

Snake game with three different GUIs made in OpenGL and loaded as dynamic libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages