4 ms·
I dunno what the need for using pygame was if the goal was to replicate this you could just use print in the REPL with a loop or recursion
by fareesh 9y ago
I dunno what the need for using pygame was if the goal was to replicate this you could just use print in the REPL with a loop or recursion
- deleted 9y ago[deleted]
- khedoros1 9y agoThe Commodore 64 version has square characters that are close to being aligned with each other. You can get the same characters output in a few lines of Python, but you can't replicate the look unless you make a careful choice of font to render it in. The output from the REPL with my normal terminal font looks like a bunch of characters more than it does a randomly-generated maze. The visual connection just isn't there.
- KwanEsq 9y agoOne can also do better with the right choice of characters: ╲ ╱ from random import choice; print(''.join(choice(('╲', '╱')) for i in range(10000)))