Simple version of Minesweeper written entirely in x86 assembly which can be run as a boot sector game.
It was made for my university project for the course System Software.
Controls:
WASD - Move up, left, down, right
Enter - Discover field
Space - Set pole
This code has been tested on QEMU x86 System emulator.
To run it just type this command:
qemu-system-i386 -drive format=raw,file=Mines.bin
If you want to compile this code yourself, I recommend you to use nasm for this job.
Here it is a command to compile with nasm:
nasm -f bin Mines.asm -o Mines.bin
Screenshot of the actual game: