There is a new book called 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 about a famous line of code used during the Commodore 64 era to generate labyrthinthes and mazes for early games. As the webmaster of Pete’s QBasic Site (which I started in 1998), this is pretty cool!
That one line, a seemingly clumsy scrap of BASIC, generates a fascinatingly complicated maze on a Commodore 64. Run the little program on an emulator—or on an actual Commodore 64, if you happen to have one collecting dust in your basement—and a work of art unfolds before your very eyes, as the screen slowly fills up in a mesmerizing fashion.
Category: Geek, Tech/Gadgets | No Comments » |