Skip to content
/ snake Public

Snake in C for the terminal

License

Notifications You must be signed in to change notification settings

ormai/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The snake game written in C for the terminal.

demo

The game is little (around 500 lines of code) and the code is commented.

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.