The snake game written in C for the terminal.
The game is little (around 500 lines of code) and the code is commented.
Build instructions:
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.