On Tue, Dec 22, 2015, Ethan Dicks wrote:
On Tue, Dec 22, 2015 at 1:04 AM, Cindy Croxton
<sales at elecplus.com> wrote:
Has any
of you took one of them old choose your own adventurer books and coded it into a text RPG
in basic?
1. Clear the screen for the next page!
Clear Screen was CLS, IIRC.
For TRS-80 BASIC, I think. For Commodore BASIC, it's
PRINT CHR$(147)
(you can also type PRINT and a quote and hit SHIFT-CLR HOME and
another quote, which works well when you want to print a string that
starts by clearing the screen and going to the top left corner, then
has other movement and/or text)
There are a number of Commodore BASIC books out there, and for
beginner stuff, the one that comes with the machine (if you get one in
the box) will get you started.
-ethan
There is a very nice archive of PDFs of Commodore books, including
programming ones, at <http://www.bombjack.org/commodore/books.htm>.
Here's another one, with several books specifically on text adventures:
<http://www.c64music.co.uk/books/>. And of course there are others at
<https://archive.org>.
I remember in my younger days having fun modifying the game "Emerald
Elephant of Cipangu" from this Ahoy! issue 10 (October 1984):
<https://archive.org/details/ahoy-magazine-10>. It was pretty close to a
choose-your-own-adventure; no Infocom-style multi-word parser or
anything.
I also remember a game in what I think was a COMPUTE! compilation, where
you played someone stuck on an enemy spaceship; but I can't seem to find
it right now.
Ah, found it. It's in the _Second Book_:
<http://www.gb64.com/game.php?id=09479>
--
Eric Christopherson