Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
retrogamecoders.com
Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
1–10 of 46 posts
Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#2Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#3Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#4My favourite example is the annual BASIC 10 liner competition:
Basically, folks compete to write the best, most interesting, most inspiring 10 lines of BASIC code imaginable .. and ooh boy, has there ever been some truly amazing stuff! A dynamically generated dungeon crawler, a full implementation of lunar lander, countless arcade-style games, an implementation of Brainfuck .. the list goes on and on .. all in just 10 LINES OF BASIC!
Another source of BASIC inspiration, I find, is in the synthesis one-liner scene - which of course, is dominated by the C64 for its synth goodness, but there are other examples out there where, in just a single line of code, entire techno and other electronic-music tracks are generated, on the fly, by ye' olde 8-bit computer of choice (C64, mostly, though..) The bytebeat techniques in use by some synth-one-liner hackers seem to be continually producing extraordinary results.
For example:
https://replicate.com/andreasjansson/synth-one-liner/readme
.. and a good treatise on the various techniques:
https://countercomplex.blogspot.com/2011/10/algorithmic-symp...
I think there is a lot of value in learning BASIC using these kinds of techniques in this day and age. I know for sure I'd struggle to have a full Lunar Lander or Asteroids implementation of just 10 lines of javascript, if that is even feasible .. but seeing so many BASIC implementations is just truly inspiring.
What we have lost in the rush for shiny bloat, eh folks?
The old adage that limits produce wonders, is never truer than in the 10 Line BASIC competition entries ...
Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#5Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#6There's a 300-page MIT Press book analyzing exactly this line of code: 10 PRINT CHR$(205.5+RND(1)); :GOTO 10. It's free as a PDF and covers the mathematics (Truchet tilings), the C64 hardware, and the cultural history. The article doesn't mention it.
Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#7There's a 300-page MIT Press book analyzing exactly this line of code: 10 PRINT CHR$(205.5+RND(1)); :GOTO 10. It's free as a PDF and covers the mathematics (Truchet tilings), the C64 hardware, and the cultural history. The article doesn't mention it.
Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#8Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#9There's a 300-page MIT Press book analyzing exactly this line of code: 10 PRINT CHR$(205.5+RND(1)); :GOTO 10. It's free as a PDF and covers the mathematics (Truchet tilings), the C64 hardware, and the cultural history. The article doesn't mention it.
All this and no link? Shame! https://10print.org/10_PRINT_121114.pdf
2019 (142 points, 60 comments) https://news.ycombinator.com/item?id=19481207
Original/2012 (153 points, 89 comments) https://news.ycombinator.com/item?id=4856207
Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us
#10The author of the article says the 8-Bit Guy is controversial. Why is that?
I still enjoy his videos.