Since the early days of home computing there have been a number of games which persist in surviving in one disguise or another. Such as "dodge the shower of nasties" or "bomb the city flat" or "bat the beknighted ball". Then there are the various board games, or grid games, like "find the submarine" or "match the colours" and "reversi".
No doubt we've all had a go at these at some time or another, but here's something new. Have you ever tried to handle two of these old crocks at the same time? Now's your chance!
Here's a straightforward, easy to understand, Basic program which lets you play "fill the grid with colours" or "dodge the nasties" one game at a time but also gives you the option of running both together. You should find this intriguing since the grid must be filled with different non-adjacent colour blocks before either the time runs out or your lives are lost in the other game. The listing is printed in sections with titles to make the structure clear but here, in addition, is a summary.
- 100-220 Sets the variables and prints the instructions.
- 260-340 Choice of three games.
- 380-460 Draws the screen layout.
- 500-710 Controls the progress of gamel.
- 750-910 Ditto for game 2.
- 950-1110 Ditto for game 3.
- 1150-1280 Running sequence for game ' 1.
- 1320-1400 Ditto for game 2.
- 1440 Delay routine.
- 1480-1510 Interrupt subroutine to print time.
- 1550-1610 Draws the grid for gamel.
- 1650-1690 Checks the grid in game 1 for adjacent colours.
- 1730-1750 Prints the flashing marker for game 1.
- 1790-1810 Prints a colour block for game 1.
- 1850 End-of-game sound.
If you wish to alter the degree of difficulty in game 1, increase or decrease the value of tt in line 500. This is the total length of time allowable in which to complete the grid. To decrease the number of nasties in game 2, reduce the figure 0.5 in line 1360 or remove the line altogether. To alter the number of lives permitted, change the value of lv in line 760.