C++ snake that supports SDL, OPENGL and ncurses. Eat fruits as long as you can !
$> make && make clean
$> ./nibbler MAP_SIZE_X MAP_SIZE_Y libs/LIBNAME
$> sudo apt-get install libncurses-dev
$> sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev
- left arrow : move left
- right arrow : move right
- p : pause
- echap : quit
-
- : increase speed
-
- : decrease speed
- s : switch libs (pass from SDL to OpenGl for example)