News for hackers. Stuff that matters.

danielgjackson

Re:Show HN: A full game of snake encoded in a url on Monday January 09, 2023 @01:40PM (#34314190)
It was spread over a long time, and quite painful to get there!

If it's useful, I added an explanation of how it works at:

https://github.com/danielgjackson/tinyjs/blob/master/mini-ex...

Re:Show HN: A full game of snake encoded in a url on Monday January 09, 2023 @10:32AM (#34311414)
Nice! I made a 250-byte Snake game (265 as a URL) a few years ago after spending far too long code-golfing it:

https://danielgjackson.github.io/tinyjs#snake

...and even a 224 byte version (240 as a URL), but with a few too many sacrifices.