-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|525|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Generators


 
Pakz
Created : 12 November 2017
 
Language : Monkey-X

10 Print Chr (maze)

Commodore 64 One line Maze Generator

Flash example of this code

Latest Update

I got this from the coding train. They showed how the c64 could generate a complete maze from a single line of code back then.

They used this line :

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

I tried to code it so it would go from left to right and down but monkeyx seems to have a double buffering problem with my way of doing it. Here So I had to use more code here and it draws the entire maze at once.

The 10 print chr also has a entire book that can be read freely online. It has more patterns described inside it.

 

Comments