The Commodore 64
From Maze
(Difference between revisions)
(More changes to hidden code section) | (added a bit of Casey's original introduction back in, in a slightly different spot) | ||
| Line 6: | Line 6: | ||
40 GOTO 20 | 40 GOTO 20 | ||
| − | After you carefully type it[2], you input "RUN". The screen erupts into motion as lines flow onto the screen. As each row fills with symbols, it starts drawing on the next line. When the screen is full, the entire maze moves up and leaves space at the bottom for new characters to fill. The result is a dynamic maze. | + | After you carefully type it[2], you input "RUN". The screen erupts into motion as lines flow onto the screen. As each row fills with symbols, it starts drawing on the next line. When the screen is full, the entire maze moves up and leaves space at the bottom for new characters to fill. The result is a dynamic maze. The three-line program introduced here is nearly equivalent to the one-line namesake of this book with the only difference being that the condensed version doesn't clear the screen as in the first line of the expanded code. |
[tk-Photos of the program running on an actual C64, since we have screenshots of it all over the place before now] | [tk-Photos of the program running on an actual C64, since we have screenshots of it all over the place before now] | ||
