Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

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.

demo

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
./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.

Footnotes

  1. 306 semicolons ↩

About

Snake for the terminal

Topics

Resources

Stars

28 stars

Watchers

1 watching

Forks

Contributors

Languages