TweetTweetJam 6
2021-07
4 games that fit within the character limit for just two tweets! aka games in 560 bytes of code. A very fun jam. I think Splatweet and Drop are quite fun.
Also, I helped ThatTomHall golf his entry from ~1100 characters down to just 515!
voodoo
I was thinking about the Wac-Man facing code some more afterwards and I eventually thought up this horrifying (but small!) incantation:
uhhhhhhhhh ok wait this also works LOL
— pancelor (@pancelor) July 4, 2021
b=btn()
if(b>0)a=b*.5938&.75
dx=cos(a) dy=sin(a)
or, to get a rotation code (0-3), use r=b*19/8&3. this image kinda explains how it works, and the .5938 nonsense works similarly: pic.twitter.com/pxikKv9riM
There’s more context in the twitter thread, if you’re interested.