RUN Magic 93
From Maze
Jump to:
navigation
,
search
This wiki is a read-only archive; the page source is shown below.
[[Category:Variorum]] ''RUN'', July 1984, pages 13-14 (From the MAGIC column, compiled by Louis F. Sander. "MAGIC is tricks, MAGIC is fun. MAGIC is doing what cannot be done." "MAGIC is a monthly column of hints, tricks and odds and ends from the worlds of software, hardware and applications. ... MAGIC features simple hardware ideas, one-line programs, useful programming techniques, little-known computer facts and similar items of interest.") ==$93== Amazing one-liner -- Here is one of the best one-liners I have ever seen. It works on the VIC and C-64, drawing a continuous maze that is very interesting. <code>8 PRINT CHR$(205.5 + RND(8)); : GOTO 8</code> To get random colors on the C-64, add <code>CHR$(149+RND(8)*11)</code> just before the semicolon. Dan A. Krueger Cary, IL ---- [[Image:RUN_13.png]] [[Image:RUN_14.png]] ==Suggested Modification== If you do the modification suggested in this item, you'll get code that is like the following: <code>8 print chr$(205.5+rnd(8));chr$(149+rnd(8)*11);:goto 8</code> ===Scans of the pages=== http://www.old-computer-mags.com/magazine/magazine_viewer_eng.php?idx=Run.htm&base=Run&num=007&page=12 http://www.old-computer-mags.com/magazine/magazine_viewer_eng.php?idx=Run.htm&base=Run&num=007&page=13 http://www.old-computer-mags.com/magazine/magazine_viewer_eng.php?idx=Run.htm&base=Run&num=007&page=14
Views
Page
Discussion
View source
History
Personal tools
Log in / create account
Navigation
Main page
Recent changes
Help
Search
Toolbox
What links here
Special pages
Permanent link