The snake game written in C for the terminal.
This is a small1 project that only depends on libc. It uses POSIX APIs and escape codes to interact with the terminal.
To build the game git, make, and a modern C compiler are required.
Build instructions:
git clone https://github.com/ormai/snake.git
cd snake/
make
./snakeYou can move with w a s d or with h j k l, or just with the arrow keys. Press q to quit.
Footnotes
-
306 semicolons ↩
