Skip to content
/ snake Public

The classic game of snake

License

Notifications You must be signed in to change notification settings

ormai/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The game of snake implemented in C using ncurses.

Video demonstration

The game is little (around 500 lines of code) and the code is commented.

To build on Debian you need git, meson, gcc, ncurses-dev. Then run

git clone https://github.com/ormai/snake.git
cd snake/
meson setup build
meson compile -C build
build/snake

You can move with w a s d or with h j k l, or just with the arrow keys. Press q to quit.