Skip to content

Create the snake game using different graphic libraries. We can switch between them at runtime.

License

Notifications You must be signed in to change notification settings

vvaucoul/Nibbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nibbler

Create the snake game using different graphic libraries. We can switch between them at runtime.

I used 3 libraries:

  • Ncurses
  • SFML
  • Opengl

With 1 bonus library:

  • Miniaudio

The goal of this project is to use theses functions:

  • dlopen: load dynamic library.
  • dlclose: close dynamic library.
  • dlsym: load symbol.

  • Clone Repository
git clone https://github.com/vvaucoul/Nibbler && cd Nibbler
  • Download and Compile libraries
make install-libs
  • Compilation
make
  • Start the game
./nibbler [width] [height] [interface]

Switch between Interfaces:

  • Ncurses: U
  • SFML: I
  • OpenGL: O

Examples

Snake_01


About

Create the snake game using different graphic libraries. We can switch between them at runtime.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published