/snake

The classic game of snake written in C and ncurses

Primary LanguageCGNU General Public License v3.0GPL-3.0

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, 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.