Skip to content
/ snake Public

a simple terminal based snake game written in c with ncurses. Uses vim style hjkl to move around

Notifications You must be signed in to change notification settings

mnisjk/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run on Repl.it

snake

A simple terminal based snake game written in c with ncurses. Uses vim style 'hjkl' to move around (or the arrow keys if you please).

Screenshot

screenshot

How to compile & run

gcc -I/usr/include/ -osnake snake.c -lncurses
./snake

Dependencies

snake.c relies on ncurses to draw to the terminal. To install on Ubuntu/Debian, use:

sudo apt-get install lib32ncurses5-dev

License

Use, copy and/or distribute in any way you want.

About

a simple terminal based snake game written in c with ncurses. Uses vim style hjkl to move around

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages