News for hackers. Stuff that matters.
Re:Four integers are enough to write a Snake Game by webdevver on Sunday July 06, 2025 @08:38AM (#44480266)
Damn, I thought it was literally written in 16 bytes of assembler.

it should/might/could be possible to write a snake game in something like, 30 bytes of x86 asm.

boot up real mode old school bios environment. 0xa000 is your screen, width/height with int 10.

Re:Four integers are enough to write a Snake Game by whaleofatw2022 on Sunday July 06, 2025 @02:33PM (#44482972)
There's a version of snake written in C# that runs in UEFI. That said its at least 8kb in compiled form on windows (not sure size of uefi build) [0]

[0] https://codevision.medium.com/running-c-snake-inside-uefi-df...