Snake for the terminal
Find a file
2025-11-10 20:14:21 +01: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 chore: transition to c23 2025-11-10 20:14:21 +01:00
makefile docs: improve docs 2025-11-10 19:57:15 +01:00
map.c chore: transition to c23 2025-11-10 20:14:21 +01:00
map.h chore: transition to c23 2025-11-10 20:14:21 +01:00
README.md docs: improve docs 2025-11-10 19:57:15 +01:00
snake.c chore: transition to c23 2025-11-10 20:14:21 +01:00
snake.h chore: transition to c23 2025-11-10 20:14:21 +01:00
term.c chore: transition to c23 2025-11-10 20:14:21 +01:00
term.h chore: transition to c23 2025-11-10 20:14:21 +01:00
window.c chore: transition to c23 2025-11-10 20:14:21 +01:00
window.h chore: transition to c23 2025-11-10 20:14:21 +01:00

Snake

The snake game written in C for the terminal.

This is a small1 project which doesn't rely on external dependencies.

demo

To build the game 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 ↩︎