NaNoGenMo / 2020

National Novel Generation Month, 2020 edition.
76 stars 0 forks source link

1001 BASIC Games, A Novel #73

Open nickmontfort opened 3 years ago

nickmontfort commented 3 years ago

I have generated the novel 1001 BASIC Games for you to enjoy.

The program that generates this is a one-line Applesoft BASIC program for the Apple //e or //c. I believe this program is of maximal length for a one-liner. Note that while this code will run on earlier Apple ][ computers, the indentation of the output is only known to be correct on the //e and //c.

1001_basic_games_code

That is, the program is:

20DATAALL,WORK,AND,NO,PLAY,MAKES,NICK,A,DULL,BOY:FORI=0TO9:READA$(I):NEXT:?:?"1001 BASIC GAMES":?:FORI=0TO999:FORJ=0TO999:NEXT:?N$"DEAR READER:":?:?" 10  REM";:FORJ=0TO4:?" "A$(RND(1)*10);:NEXT:LIST:?:N$="NEXT, ":NEXT:?"LAST:":?:?" 0  GOTO

Thanks to the @AppleIIBot on Twitter, by @KaySavetz, you can see an excerpt of the novel as it is generated: Here are the first 30 seconds of output. It's captured from one of those special software editions of the Apple //e, of course, one provided by the linapple emulator. If people clamor for it, I may provide video of the novel being generated on my hardware Apple //c. But why not run it on your own Apple //e or Apple //c?

hugovk commented 3 years ago

I hereby register one clamour for it :)

verachell commented 3 years ago

Neat project! +1 clamor from me also.

nickmontfort commented 3 years ago

Took me a while, but your (extremely quiet) clamor has been answered.

Here is the video of the complete output of 1001 BASIC Games, produced by my Apple //c on a CRT television.