Mazes Made with Random Characters

The mazes shown here are created with a very simple program: just take a very small number of characters randomly and get a surprising variety of designs. In the early days of computer art on personal computers, the program was implemented in BASIC for the Commodore 64 with the following simple statement, leading to considerations in randomness and regularity in simple programs:
10 PRINT CHR$(205.5+RND(1)); : GOTO 10


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


[1] G. Dayal, "BASIC: A Single Line of Code Sends Readers into a Labyrinth," Slate, Nov. 30, 2012. 10_print _chr _ 205_ 5_rnd _ 1_goto _ 10_from _mit _press _reviewed.single.html.
[2] N. Montfort, P. Baudoin, J. Bell, I. Bogost, J. Douglass, M. C. Marino, M. Mateas, C. Reas, M. Sample, and N. Vawter, 10 PRINT CHR$(205.5+RND(1)); : GOTO 10, Cambridge, MA: The MIT Press, 2012.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.