User talk:Shrirambo

From Rosetta Code

Hi Shrirambo. Please lurk a while and learn how things are done on RC before creating a new page. I will move your text below and delete your original page. giving you time to learn the basics. Thanks. --Paddy3118 (talk) 11:45, 7 October 2019 (UTC)


Task

Implement the famous one-line Commodore 64 BASIC program "10 Print" to create maze-like generative artwork. The original code goes as follows:

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

Which creates a maze-like pattern by printing a backward and forward diagonal ( similar to "\" and "/") at random. [1].

Following is a Julia version of the same program for reference.

begin @label ten; print(Char(47+45*(rand()>0.5))); @goto ten; end