Skip to content

snakey eats apple and grows big and strong. snakey hit wall and get sad. snakey eat self and become black hole

Notifications You must be signed in to change notification settings

jonathang111/Terminal-Snakey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uses UNIX based libraries such as termios (for terminal manipulation), so either compile with a WSL or Mac.

Compile both .c files, e.g. clang main.c classes.c -o <name>.exe

Then to run just type ./<name>.exe. 

There is also an additional debugging mode that shows various attributes about the snake/board, this is activated by adding any additional argument when executing the program. For example './<name>.exe 1' will cause the debugging mode to activate. This mode is really buggy though since it doesn't print onto the terminal using a buffer, causing visual glitches.

The game was made in a modular design with the intention of expansion; whether I actually expand is another question. 

About

snakey eats apple and grows big and strong. snakey hit wall and get sad. snakey eat self and become black hole

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages