Skip to content

johshoff/snawk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snawk

Snawk is a snake implementation in awk. Because I could.

Run with ./run.sh.

Use h, j, k and l followed by enter to move the snawk around. Hit ctrl+d to exit.

############
#         o#
#        o #
#   ####  o#
#   ####   #
#   #### * #
#        * #
#      *** #
############

Challenge

I would love to make it run in realtime instead of hitting enter between every move, but I couldn't find a way to do that using only tools that are as ubiquitous as awk. If you can make that happen, a pull request would be most appreciated (it needs to actually work, though. I have plenty ideas that does half the job, but no complete solution).

About

Snake implementation in awk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published