A 512-byte bootable snake game that runs directly from BIOS.
- NASM (to assemble)
- QEMU (to emulate)
- Build: Run
make
to generatesnake.img
. - Run: Use
make run
to start the game in QEMU.
- Arrow Keys: Change direction
- Speed: Adjust delay in the
snake.asm
code.
- Real-mode BIOS interrupts
- Collision detection (walls/self)
- Food spawning
- Dynamic snake growth
- Optimize this MUCH further
- Find how to make it so that the window is the same size as the walls.
- Make a script to automate flashing this to an external drive