Hedge-Hog is a BASIC program which was originally designed around one of the few playable games for the Dick Smith Wizard home computer. (No, I didn 't have one, but one of my friends did). The idea of the game is to keep the Hedge-Hog on the path as he collects a number of bunches of cherries. Unfortunately you have no control over the Hedge-Hog himself, and so must move sections of the path to form a trail for him to follow. He will be killed if he comes off the path. By the way, I'm not English, it's just that Hedge-Hog sounds better than Echidna. The program is all in BASIC, and some parts may seem to be very similar to others. This is due to my trying to increase the speed of the program, at the expense of program length. However, the whole program is only about 13k long, which is a fairly reasonable amount of typing. A break-down of the program follows: - 10-120 Call routines to set up the game
- 130-760 Draw playing field
- 770-860 Main program loop
- 870-1380 Move tiles
- 1390-1980 Move Hedge-Hog
- 1990-2860 Set up tiles
- 2870-3230 Draw starting screen
- 3240-3530 Data
- 3540-3640 Dead!
The game has ten speed levels, and anyone who feels that the game is too slow should try playing at level 9 (I usually play at about level 5). When typing the program in you should type it as it is printed, as any missing lines will cause the program to do a number of interesting things, none of which help you to play. After the program is working you can remove the REMs. |