README
March 9, 2020 ยท View on GitHub
| ___ \ () | |
| |/ /_ __ _ | | _____
| ___ \ '| |/ __| |/ / __|
| |/ / | | | (| <__
_/|| ||___||____/
Bricks, a paddle/ball game that fits in one boot sector (510 bytes) by Oscar Toledo G. Nov/02/2019
http://nanochess.org https://github.com/nanochess/bricks
It's compatible with 8088 (the original IBM PC)
If you want to assemble it, you must download the Netwide Assembler (nasm) from www.nasm.us
Use this command line:
nasm -f bin bricks.asm -l bricks.lst -o bricks.img nasm -f bin bricks.asm -Dcom_file=1 -o bricks.com
HOW TO PLAY <<
Press Left Shift to start the ball.
Press Left Ctrl to move to the left, and press Left Alt to move to the right.
Each brick scores for one point. To finish faster, try to get a streak of several bricks when the ball rebounds from brick to brick.
You have 4 balls to finish the courtyard.
There is sound using the PC speaker (doesn't work with VirtualBox except in the Linux version).
Enjoy it!
RESOURCES <<
jaens contributed optimizations of code and also has made a C language version of Bricks, you can download it at:
https://github.com/jaens/bricks-cport
ATTENTION <<
Would you like to learn 8086/8088 programming? Then you must get my new book Programming Boot Sector Games including a 8086/8088/V20 crash course!
Now available from Lulu:
eBook https://nanochess.org/store.html
These are some of the example programs documented profusely in the book:
- Guess the number.
- Tic-Tac-Toe game.
- Text graphics.
- Mandelbrot set.
- F-Bird game.
- Invaders game.
- Pillman game.
- Toledo Atomchess.
- bootBASIC language.
After the success of my first book, if you need even More Boot Sector Games then you must get this book!
- Follow the Lights
- bootRogue
- bricks
- cubicDoom
- bootOS