donno2048 / snake
- воскресенье, 6 августа 2023 г. в 00:00:08
A minimal snake in assembly
This is a snake game in assembly made for DOSBox and Linux.
You can view the online Demo (Use your arrow keys on pc or swipe on mobile).
Inspired by Can you fit a whole game into a QR code?
It was made in order to create the smallest "fun" game possible.
To build and run it use:
sudo apt update
sudo apt install dosbox nasm -y
git clone https://github.com/donno2048/snake
cd snake
nasm snake.asm -o snake.com -f bin
dosbox -c "cycles 1" -c "mount c ." -c "c:" -c "snake"
It is so small I could fit it into a single QR:
It's 85
bytes.
6800b81fb9a00fb80
300cd10bfd0078d76
fc0fafdd21cb382f7
4f7880fe460bb0400
241e7a0288cb24147
402f7db29df39cf77
d3d1fb8d4102f6f12
0e474c8382d74c489
7e004545380d882d7
4c426ad938827ebc8