Unfortunately the foundation code you have taken over, was written by someone who didn't understand how text adventure games are/were programmed. Especially the most important parts which would comprise of an "actual" parser, and a tokenizer... even if it's a simple 2 word verb/object tokenizer.
(Zork I, while not sophisticated compared to more advanced text adventures as the genre progressed, it could handle actions : directions : objects :adjectives : prepositions : some syntactic constructions and ambiguities.)
It's probably not worth getting into, as it's not really the type of game you are planning on creating... but "handling" the user input should never be done, the way it is being done here.
Your signature has been erased by a mod please reduce it to 600 x 120.
