Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Text Adventure Input

Author
Message
Raptor King
16
Years of Service
User Offline
Joined: 3rd Mar 2008
Location:
Posted: 1st Apr 2008 19:44
Hey All,

I have been working on a Text Adventure lately. Everything is working so far, the coodinate system, item locations, etc. However, the parser needs some help.

Here's the code I used to test this.


It divides the words into the verb and object just fine, since it prints those on the bottom. The only problem might be that it cannot match them with the words in the array.

Thanks in advance,
Raptor King
16
Years of Service
User Offline
Joined: 3rd Mar 2008
Location:
Posted: 3rd Apr 2008 20:16
Man, I need to brush up on arrays.
Sorry for the bad mistake, I do not know why I did not catch that before.

Login to post a reply

Server time is: 2024-11-25 06:40:09
Your offset time is: 2024-11-25 06:40:09