Snake for the terminal
Find a file
2025-10-08 08:41:59 +02:00
demo.gif New demo.gif 2024-02-26 19:32:12 +01:00
LICENSE Initial commit 2024-02-16 20:19:24 +01:00
main.c update personal website domain name 2025-07-23 14:52:18 +02:00
makefile Fixed compiler warning 2024-09-29 13:57:04 +02:00
map.c update personal website domain name 2025-07-23 14:52:18 +02:00
map.h update personal website domain name 2025-07-23 14:52:18 +02:00
README.md update readme 2025-10-08 08:41:59 +02:00
snake.c update personal website domain name 2025-07-23 14:52:18 +02:00
snake.h update personal website domain name 2025-07-23 14:52:18 +02:00
term.c update personal website domain name 2025-07-23 14:52:18 +02:00
term.h update personal website domain name 2025-07-23 14:52:18 +02:00
window.c update personal website domain name 2025-07-23 14:52:18 +02:00
window.h update personal website domain name 2025-07-23 14:52:18 +02:00

The snake game written in C for the terminal. The project is small1 and doesn't rely on external dependencies.

demo

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.


  1. 301 semicolons ↩︎