gui-bo / snake

The classic game of snake written in C and ncurses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The classic game of snake written in C and ncurses

License:GNU General Public License v3.0


Languages

Language:C 98.3%Language:Makefile 1.7%