Acorn Programs


3-D Maze

 
Published in Acorn Programs #3

3-D Maze

This program produces a three-dimensional maze in Mode 2 graphics. Side walls are shown in green, facing walls in red. Any maze can be set up by changing the data in lines 20-140. In those lines 1 represents a wall, 0 represents a passage, and 8 the target.

The depth and width of any new maze can be placed in the variable A% in line 170. Move through the maze using the cursor keys.

3-D Maze was written for the BBC and Electron by C. J. Locke of Winscombe, Avon.

J. Locke