prev • index • info

code guessing, round #109, stage 1 (writing)

started at . submit by

specification

I'm too lost, so let's return to mazemaking... I guess? print random slashes. submissions may be written in any language.

there's a book about this one-line Commodore 64 program, which prints a maze by randomly printing either a / or \ character ad infinitum:

10 PRINT CHR$(205.5+RND(1)); : GOTO 10

I didn't read the book, so I can't tell you any more than that. here's what the output looks like on the Commodore: a maze made up of slash characters

and here's what it looks like in text:

\///\//\//\/\\\/\\\/\//\////\\\\\\\/\\\/
\\/\\//\/\/////\//\///\\///\//\//\/\\\//
\\/\/\\\/////\///\\//\\\////\\/\/\\\\///
\\/\////\\\//\\/\////\/////\\/\//\\/\//\
\\/////\\//////\//\\/\\/\\\/\\\\\\\/\/\/
//\//\\\\\\/\\\\/\/\/\\/////\///\//\\\\/
\\//\\/\\//\/\\/\/\\\\\\\\////\///\//\/\
//\\\/\\\//\/\\\/\\\\\\\/\//////\//\//\\
\\/\\///\\/\\/\////\//\/\/\\//\\\\///\\\
\/\/\/\\\\///\\//\\/\\/////\/\/\/\\\////
/\//\/\/\/\\\\////\\\\/\\/\\\\/\\\\\/\/\
\//\\\\///\/\\\\\/////\\\\/\\/\\\/\\\//\
/\\\/\//\\//\//\\///\//\/\\/////\\\\\\//
///\\//\\/\//\\\/\//\/\\////\/\/\/\/\/\/
\\/\\////\\/\\\\\\/\//\//\\/\\\//\////\/
\/\\\\\///\\\\\\\//\\\\\\/\\/\/\\////\\/
///\\\\/\\\\\///\///\\\///\\\/\/\///\/\\
/\\\//\\/\/\/////\\///\//\//\/\/\\\//\\\
///\\\\//\\/\\\///\\/\/\//\\\\\/\\\\\\\/
\\/\\/\/////\\\//\/\/\/\//\\\/\\/\\\//\\
/\//\\\\/\/\//\\/\/\/\\\//\//\/\\/\\\\\\
//////\\/\\/\/\\\///\\\\/\\\/\/\////\///
//\/\//\\/\/\/\\//\\/\\///\///\\\/\/\///
\////\\\\\\\\/\//\\///////\///\\\\\/////
\////\\///\/\/\/\/\//\\/\\///////\/\//\\

your challenge is to do that. as any language is allowed, there is no fixed API.

entries

1 entry has been received so far.

submit