Shifting Maze

Developer(s): John Burns
Date: 1982
Type: Program
Platform(s): ZX81, TS 1000
Tags: Graphics

Prints a 20 by 20 maze of diagonal graphics blocks, picking one of two characters at random for each square. Run it in SLOW mode for the best effect.

With the two extra lines (5 PRINT AT 0,0; and 70 GOTO 5) the program keeps printing new mazes over the old one, so the maze shifts continuously. Press BREAK to stop. The download has the shifting version and the plain maze.

Published in Syntax August 1982 (Shifting Maze).

Related Articles

This program prints a maze on a 1K ZX81. Run in SLOW for best effect.

Image Gallery

Source Code

Maze program:
  10 FOR R=0 TO 19
  20 FOR C=0 TO 19
  30 PRINT CHR$(INT (RND+.5)*2+3);
  40 NEXT C
  50 PRINT
  60 NEXT R

Add for a shifting maze:
   5 PRINT AT 0,0;
  70 GOTO 5

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.