Talk:The Commodore 64
From Maze
(Difference between revisions)
(Removed notes placed at bottom) | |||
| Line 26: | Line 26: | ||
The three lines of code that create this continually generating maze do so because of the specific design of the C64, paired with the design of the BASIC language in which the program is written. The manual explains the code element by element, first introducing the idea of a character code and then pointing out the importance of the number 205.5 specifically. The explanation of how the code works is followed by something even more valuable: an invitation to modify the code, change it, and make it your own based on what you've read. | The three lines of code that create this continually generating maze do so because of the specific design of the C64, paired with the design of the BASIC language in which the program is written. The manual explains the code element by element, first introducing the idea of a character code and then pointing out the importance of the number 205.5 specifically. The explanation of how the code works is followed by something even more valuable: an invitation to modify the code, change it, and make it your own based on what you've read. | ||
| + | |||
| + | |||
| + | = [Removed] Notes = | ||
| + | |||
| + | [1] Commodore 64 User's Guide, p 53. | ||
| + | [2] It's unclear why the lines are ordered 10, 20, 40, but the omission of 30 is likely a copy error in the manual and therefore not of importance in discussing the code. | ||
| + | |||
| + | [By the way, I don't think [2] is particularly true. I think the program may have simply been numbered 10, 20, 40 and copied faithfully into the manual. Many BASIC programming books have programs with irregular line numbers. People probably just didn't care to renumber them in steps of 10. -nm] | ||
