Skip to content

Terminal snake game from scratch (without 3rd party libraries) in mojo and a bit of C

License

Notifications You must be signed in to change notification settings

yetalit/Terminal-SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Snake Game

Terminal snake game from scratch (without third party libraries) in mojo and a bit of C.

C is used to detect user's keystrokes. The rest is in mojo.

Game Controls

w: Up

a: Left

s: Down

d: Right

z: Exit

Notes

You can compile the key.c code to library file using:

gcc -shared -o libkey.so -fPIC key.c

About

Terminal snake game from scratch (without 3rd party libraries) in mojo and a bit of C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published