BOMBARDMENT is played on two 5x5 grids or boards with 25 outpost locations numbered 1 to 25. Both you and the computer have four platoons of troops that can be located at any four outposts on your respective grids.
At the start of the game, you locate (or hide) your four platoons on your grid. The computer does the same on its grid. You then take turns firing missiles or bombs at each other's outposts trying to destroy all four platoons. The one who finds all four opponents' platoons first, wins.
This program was slightly modified from the original written by Martin Burdash of Parlin, New Jersey.
Code Listing (Small Basic File: bombard.sb):
This chapter is adapted from the book Basic Computer Games Small Basic Edition published by BibleByte Books.
To purchase this book in its entirety, please see the Computer Science For Kids web site.
Sample Run:
© Copyright 2010 By BibleByte Books. All Rights Reserved. BibleByte Books, the BibleByte Books Logo, Computer Science For Kids, the Computer Science For Kids logo, and related trade dress are trademarks or registered trademarks of BibleByte Books.