85-Byte Snake Game
github.com
github.com
https://hugi.scene.org/compo/compoold.htm#compo1
There were also some creative attempts that took less than 48 bytes and got disqualified. One of those encode the entire game in a series of empty folders using the folder names.
Edit: the original Hugo size coding competitions were created by Claus-Dieter Volko (Alias: Adok).
Edit: Typos
Also, I don't find “fits into a QR code” all that impressive. QR codes can contain kilobytes of data (see: COVID certificates), which is considered a lot in the demo scene (e.g. Google "256B demo" to see some really impressive examples). I bet you could implement a fully graphical Snake clone in less than 1024 bytes.
Pressing opposite direction kills you
Inputs aren't buffered so fast inputs are either dropped or kill you
Sometimes the snake just randomly grows??
Not a very good implementation
I had also never seen a source code example for running an HTML embedded DOSBOX, so that was pretty interesting too.
is this the right file?
00000000: 6800 b81f b9a0 0fb8 0300 cd10 bfd0 078d h...............
00000010: 76fc 0faf dd21 cb38 2f74 f788 0fe4 60bb v....!.8/t....`.
00000020: 0400 241e 7a02 88cb 2414 7402 f7db 29df ..$.z...$.t...).
00000030: 39cf 77d3 d1fb 8d41 02f6 f120 e474 c838 9.w....A... .t.8
00000040: 2d74 c489 7e00 4545 380d 882d 74c4 26ad -t..~.EE8..-t.&.
00000050: 9388 27eb c8 ..'..
oh i guess with `dosbox -c 'cycles 1' .` it's playable actuallyi suspect it will still eventually hang tho
I'm on Intel Mac, btw.