time_guesser/README.md

850 B

Time Guesser Game

This simple game for the TweetTweetJam 11 Game Jam on itch.io. The goal of the game is to hit space bar the exact time the goal time appears. The main requriment is the game must be 500 or less characters of code. I implmented a custom fennel code minifier to help get me to that number.

This game is made with the L5 Fennel template. For the docs on that read ./TEMPLATE.md

Dev

To get hot reloading dev experience run:

$ echo main.fnl | entr -r ./dev.sh

Dev minifier

When working on the minifier code you can also get hot reloading with char count printing; just run:

$ echo minify.bb | entr -s './minify.bb main.fnl && wc -c main.min.fnl'

Run minifier unit tests:

$ bb minify_test.bb

Screenshot

Screenshot