fun
Boot Sector Snake
A text-mode Snake game that fits into the 512-byte boot sector of a storage device and targets the Intel 80186 instruction set.

About
This project was my entry point into low-level programming. The main challenge was the strict size limit: the entire game has to fit into a 512-byte boot sector.
To make that constraint more tangible, here is the complete game encoded as base64:
uMAHjtiOwI7QvP//6hEAwAfoBQAAAAAAALgDAM0QtAG5BybNELgAuI7Au6DHxgcAQ4H7cM9y9scGhssREcc
GiMsREscGFADpA8cGFgDmA8YGCc4DMdvGh6DHBMaHIM8EQ4P7UHLwu1AAxoegxwXGh+/HBYPDUIH7gAdy7e
jRALSGuQEAzRWLHhQAio+gx8DpBLQBzRaYzRaA/Eh0EYD8UHQQgPxLdA+A/E10DusOsQjrCrEE6waxAusCs
QFRwOEEgMEBiI+gx1mhFADo/QBRicOKj6DHgOEPgPkDdALrJsYGGAAKYLQCzRqJ0DHSu9AH9/OJ04uXoMeD
+gB16MaHoMcDYesFgPkAdT5ZoxQAwOEEgMECix4UAIiPoMeAPhgAAHcC6wf+DhgA6VD/ix4WAIqPoMfA6QT
Gh6DHAKEWAOiJAKMWAOk0/7QAzRbpyv7DMdsxwIqPoMeA4Q+yB4D5AHQbgPkCdBqA+QF0G4D5A3QcgPkEdB
2A+QV0HOscsQDrGLHpsgrrErEqsgLrDLHrsgTrBrHN6wKxulOJwyaIDyaIVwFbQ4PAAoH70AdypibHBgAAy
QcmxwaeALsHJscGAA/IBybHBp4PvAfDgPkIdBGA+QR0EYD5AnQRgPkBdA/rEIPoUOsLg8BQ6wZI6wNA6wDD
AAAAAAAAAAAAAAAAVao=
Tags & Technologies
- x86 assembly
- OSDev
- Low-level programming