How To Make Text Games

well, we have all played a text game before, haven't we? You those kinds where it tells you a description of where you are. for example: (Oh yeah, from here if you know what I am talking about, skip to where the police smiley is)

"You wake up to find yourself in a small, dark room, lying on some hay. All the windows have bars on them and the door is firmly shut. Next to you there is a table with some mouldy old bread and an old hankichief"

So you type:

"Get old hankichief"

and it goes to your inventory. You type:

"Inv" or "Inventory" and it says that all you have is the old hanky

you type "Open door" it says:

"To your suprise the door opens, except right in front of you is a prison guard, with big muscles. Looks like you're in trouble..."

and the text game goes on.

:staffs here: Does anybody here know where I can find a simple tutorial, or an app that does most the work for you? so it's more simple?

Thanks! :moon:

#217487

learn to program :D

#217508

CW,

I found this infocom stuff.

Should be a nick to edit compile and play your own Z-Files!

edit:

the Z-machine compiler is available here.

#217673

Most kids like to make those text-mode RPG's when they've learned a language like BASIC. BASIC is a relatively simple language and most people have no trouble catching on to it, even if they never move on to something like C.

I used to emulate games like King's Quest, Ultima and Zork when I was teaching myself now to program. It was a way for me to try out new things, learn more about the language and other concepts.

If you don't want to learn how to program one yourself, I'm sure you can find someone else's source code that they have given away freely and you can then modify it for your own needs.

#218048