This message was edited by Legacy at 2003-3-31 12:16:14
Hi, i'm trying to develope a text based quest game, and i just wrote the prototype in which i tried to execute th engine i had in mind.
i haven't develope a vocabulary based system yet, for now i'm just trying a few existing commands, "look at" "open door" "pick up key" etc.
my idea was to make a repeat loop for this (the loop ends once the player walks out of the room) that reads a string and then uses case like this
case string of
'look': 'blah blah';
'open door': 'blah blah';
i was astonished to find out that case doesn't support strings!
maybe that's obvious but i'm relatively new to this
baisicly what i wanted to know is since i don't feel like writing a thousand IF's is there another convenient methude like the CASE one?
also do you know of any old games, text quests in particular that were programmed with pascal that i can get my hands on their source code?