Skip to content

andrezsanchez/terminal-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal snake

A snake game that runs in the terminal.

There is a server-client architecture. It is not really necessary, but I am interested in allowing for multiplayer gameplay at some point.

Setup

git clone https://github.com/andrezsanchez/terminal-snake.git
cd terminal-snake
make

This has only been tested on my Macbook Pro.

Play

Run the server by running ./server, then in another terminal, run ./main

Control the snake using arrow keys, WASD keys, or HJKL keys (a la Vim).

Exit the game using Ctrl-C.

Demo

asciicast

About

Snake in the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published