Snake for the terminal
| demo.gif | ||
| LICENSE | ||
| main.c | ||
| makefile | ||
| map.c | ||
| map.h | ||
| README.md | ||
| snake.c | ||
| snake.h | ||
| term.c | ||
| term.h | ||
| window.c | ||
| window.h | ||
The snake game written in C for the terminal. The project is small1 and doesn't rely on external dependencies.
To build the code git, make, and clang or gcc are required.
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.
-
301 semicolons ↩︎
