This section sets up the screen display ready for the game to start.
There is no quit option, but any key other than a Cursor key will stop the game
|
Lines 140 to 180 generate a random sequence so that no two games will be the same, lines 190 to 250 accept your input (the cursor keys you press)
|
Lines 260 to 280 print the block in the correct grid square, sounds the right note and then erases the block from the grid
|
This section of the program defines the graphics and the sound used in the program.
The last ten items in line 400's DATA statement are the ones that can be changed for different sounds
|
|