Skip to content

nanochess/bricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

______      _      _        
| ___ \    (_)    | |       
| |_/ /_ __ _  ___| | _____ 
| ___ \ '__| |/ __| |/ / __|
| |_/ / |  | | (__|   <\__ \
\____/|_|  |_|\___|_|\_\___/
                            
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:

  Soft-cover  http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/paperback/product-24188564.html

  Hard-cover  http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/hardcover/product-24188530.html

  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!

  Soft-cover  http://www.lulu.com/shop/oscar-toledo-gutierrez/more-boot-sector-games/paperback/product-24462035.html

  Hard-cover  http://www.lulu.com/shop/oscar-toledo-gutierrez/more-boot-sector-games/hardcover/product-24462029.html

  * Follow the Lights
  * bootRogue
  * bricks
  * cubicDoom
  * bootOS

About

A game of bricks and paddle on one boot sector (510 bytes)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published