Randomness
From Maze
(Difference between revisions)
(→The C64 and the RND Function) | (→The Commodore 64's RND Function) | ||
| Line 117: | Line 117: | ||
=== The Commodore 64's RND Function === | === The Commodore 64's RND Function === | ||
| − | The way that 10 PRINT invokes the randomness provided by the Commodore 64 is of interest for a few reasons which will each be explored in turn. First, using randomness is aesthetically necessary in this program; there is no other way to achieve a similar effect. Second, the methods used in Commodore 64 BASIC are historically quite typical of computational approaches to pseudo-randomness since the 1950s. Finally, out of several common approaches to randomness available on the C64, 10 PRINT uses a very standard method that is well-suited to experimentation, debugging, and the production of canonical results. | + | The way that 10 PRINT invokes the randomness provided by the Commodore 64 is of interest for a few reasons which will each be explored in turn. First, using randomness is aesthetically necessary in this program; there is no other way to achieve a similar effect. Second, the methods used in Commodore 64 BASIC are historically quite typical of computational approaches to pseudo-randomness since the 1950s. Finally, out of several common approaches to randomness available on the Commodore 64, 10 PRINT uses a very standard method that is well-suited to experimentation, debugging, and the production of canonical results. |
[[Image:10print-nonrandom-205.png|160px|thumb|10 PRINT CHR$(205); : GOTO 10]] | [[Image:10print-nonrandom-205.png|160px|thumb|10 PRINT CHR$(205); : GOTO 10]] | ||
