Implement in a modern language: 10 PRINT CHR$(205.5+RND(1)); : GOTO 10
Adrian
Posted on August 27, 2020
A very popular 1 liner program for Commodore 64 was the one from the title. You can read more about it here: https://10print.org/
It basically printed randomly the / and \ characters. Although the program was very simple the effect looked as a very detailed maze.
The challenge I'm proposing you is to implement this effect in a modern programming language (JavaScript, Python, Lua, C++, C#, Java, Swift, etc.). Your choice!
P.S. For reference please check this JavaScript implementation:
https://codeguppy.com/code.html?t=commodore_patterns
đź’– đź’Ş đź™… đźš©
Adrian
Posted on August 27, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
coderefactoing Effective Strategies for Refactoring a Large Codebase: Best Practices and Approaches
November 29, 2024