--- title: "Maze Options" id: 77903 type: "computer_media" slug: "maze-options" url: "http://localhost/computer_media/maze-options/" markdown_url: "http://localhost/computer_media/maze-options.md" published_at: "2026-11-19T15:04:10+00:00" modified_at: "2026-11-19T15:04:10+00:00" featured_image: url: "http://localhost/wp-content/uploads/2026/11/maze-options-1.png" excerpt: "Three readers’ ZX80 variations on the two-line Maze-O-Graphix maze generator, each drawing a random maze with different graphics." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "ZX80" slug: "zx80" taxonomy: "post_tag" url: "http://localhost/tag/zx80/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" indiv: - name: "Daniel J. O'Connell" slug: "daniel-oconnell" taxonomy: "indiv" url: "http://localhost/indiv/daniel-oconnell/" - name: "John Filley" slug: "john-filley" taxonomy: "indiv" url: "http://localhost/indiv/john-filley/" - name: "Julian Alexander" slug: "alexander-julian" taxonomy: "indiv" url: "http://localhost/indiv/alexander-julian/" genre: - name: "Graphics" slug: "graphics" taxonomy: "genre" url: "http://localhost/type/graphics/" media_type: "Program" programmers: - name: "Julian Alexander" slug: "alexander-julian" taxonomy: "indiv" url: "http://localhost/indiv/alexander-julian/" - name: "Daniel J. O'Connell" slug: "daniel-oconnell" taxonomy: "indiv" url: "http://localhost/indiv/daniel-oconnell/" - name: "John Filley" slug: "john-filley" taxonomy: "indiv" url: "http://localhost/indiv/john-filley/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Maze%20Options%20%281981%29%28Alexander%2C%20Julian%3B%20O%27Connell%2C%20Daniel%20J.%3B%20Filley%2C%20John%29%28ZX80%29%28US%29%28Program%29.zip" mediadate: "1981" images: - url: "http://localhost/wp-content/uploads/2026/11/maze-options-1.png" - url: "http://localhost/wp-content/uploads/2026/11/maze-options-2.png" - url: "http://localhost/wp-content/uploads/2026/11/maze-options-3.png" article_media: - id: 19720 title: "Maze Options" type: "article" url: "http://localhost/article/maze-options/" related_content: - id: 19788 title: "Mazo-O-Graphix" type: "article" url: "http://localhost/article/mazo-o-graphix/" media_type_tags: "Graphics" license: false --- # Maze Options Three short maze generators for the ZX80 (4K ROM), sent in by readers after Otis Imboden’s two-line Maze-O-Graphix appeared in March 1981. Each fills the screen with a random maze and stops when the screen is full; RUN again for a new one. The article suggests them as starting points for games. J. Alexander Jr. of Scotch Plains, NJ, picks among four block graphics, with rules on which may follow which. D. J. O’Connell Jr. of San Antonio, TX, prints 352 cells, each a random character from the graphics set followed by a fixed pair of blocks; the shaded graphics act as “trap doors.” John P. Filley of Nashville, TN, chooses two wall characters for each maze and scatters an occasional inverse block among them. The download has the three programs as separate files. In the first listing Syntax printed the graphics in lines 60, 70 and 80 as the keys to type: SHIFT W, SHIFT Q and SHIFT D. Published in Syntax July 1981 ([Maze Options](https://timexsinclair.com/article/maze-options/)). ## Source Code ``` J. Alexander Jr. 5 LET X=1 10 LET Z=RND(4) 20 GO TO 10*Z+50 60 PRINT "▄"; 65 GO TO 100 70 IF NOT X=4 THEN PRINT "▌"; 71 IF X=4 THEN GO TO 80 75 GO TO 100 80 IF (X=1 OR X=4) AND NOT (X=2 OR X=3) AND NOT PEEK(16420)<2 THEN PRINT "▖"; 85 GO TO 100 90 IF NOT X=4 THEN PRINT CHR$(133); 95 IF X=4 THEN GO TO 60 100 LET X=Z 105 GO TO 10 D. J. O'Connell Jr. 5 FOR J=1 TO 352 6 LET A=RND(11) 10 PRINT CHR$(A); 20 PRINT CHR$(2);CHR$(131); 30 NEXT J John P. Filley 10 DIM A(2) 20 LET A(1)=RND(2)+1 30 LET A(2)=(RND(2)-1)*128+5-A(1) 40 LET B=128+A(1) 50 LET C=RND(25) 60 IF C=1 THEN GO TO 90 70 PRINT CHR$(A(RND(2))); 80 GO TO 50 90 PRINT CHR$(B); 100 GO TO 50 ```