Page 1 of 1

How do i create a text base game with php

Posted: Sat Aug 10, 2002 10:40 pm
by sobbles
plz help ireally want to create one

Posted: Sun Aug 11, 2002 2:09 am
by rats
you can do it with html using just hyperlinks for navigation.

you could use php to keep an inventory of items picked up/dropped.

An example
first page

You have just woken up in a strange room. By the taste in your mouth and the pain in your head you have a hangover. You are lying on a bed. The room has two doors, one in the south wall the other in the east.

Then give the options in hyperlinks.

What do you want to do?
Open the south door.
Open the east door.
Go back to sleep.
Look under the bed.

These link to other pages with a description and a set of options(links)

Use php to have a standard options. such as search, inspect, get, drop ect

these will be links to a php script.

Posted: Mon Aug 12, 2002 12:37 pm
by Zmodem
How do you paint the mona lisa?
How do you build the brooklyn bridge?

The answer to your question can't just be summed up simply. Is there something specific you need help with?

Unless of course, rats answered your question.

--cheers