ADVENT - Page 3

Previous | Home | Next

Scan of part of my program textbook

Here, we set new heights for arbitrary doom. There's not many adventure games in which merely going east blows out your candle and leads to falling down a deep hole and dying. On the other hand, it is a good example of centralised error handling - the code which prints the "falling down a hole" message, on line 105, is also used if you don't light the candle in the first place.

Scan of part of my program textbook

The additional 285 line became necessary as a GOTO target because the first half of the sentence would not make sense to a player entering this area from a different direction. As there is no code to handle uppercasing of the initial letter, we must assume that all text would have been printed in capitals.

Scan of part of my program textbook

In my eagerness to record another exciting method of killing the player off on line 320, I missed out the PRINT statement completely, and had to add it in later. I'm not certain where the idea for the over-aggressive bees came from; but being stung to death has always been a phobia of mine.

Scan of part of my program textbook

A change in the game world is used to obviate the need to maintain state for the player to visit previously-travelled areas.

Scan of part of my program textbook

A small amount of confusion between "wait" and "weight" here. The rope is obviously biodegradable.

Previous | Home | Next

Original URL: http://www.gerv.net/writings/advent/page3.html