Tag

Keyboard Input

All articles tagged with #keyboard input

technology2 years ago

"Miniature QR Code Conceals Snake Image"

A developer has created a super-tiny Snake clone in assembly, encoded into a QR code, which is only 85 bytes long. The game can be played on a web page demo using an in-browser DOS compatibility library. The code's efficiency is impressive, but there are some issues with keyboard input and a bug that results in instant game over when turning back on yourself. Readers knowledgeable in x86 assembly are invited to share their insights in the comments.