Skip to content

JeremyPouyet/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake

C++ snake that supports SDL, OPENGL and ncurses. Eat fruits as long as you can !

install / launch

$> make && make clean
$> ./nibbler MAP_SIZE_X MAP_SIZE_Y libs/LIBNAME

install ncurses

$> sudo apt-get install libncurses-dev

install sdl

$> sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev

play

  • 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)

Releases

No releases published

Packages

No packages published