The game of snake implemented in C using ncurses.
The game is little (around 500 lines of code) and the code is commented.
To build on Debian you need git
, make
, gcc
, ncurses-dev
. Then run
git clone https://github.com/ormai/snake.git
cd snake/
make
./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.