hey, im interested in the code behind these types of games,is there like "rooms" like a string array with possible situation/ comands inside or something completely different.
had a couple ideas to improve on what you've already done, perhaps you could log the last successful command and keep it at the top. that way forgetful people like me are able to remember what they were trying to do without having to scroll back up.
also with text adventures like this you should try, when explaining the options to use the word that they should use in there command, for example i had trouble trying to walk though a door, because i couldnt thing of a 2 word command to do so.
and of course you want to keep the commands internally consistant, not saying you dont its just something you have to keep you eye out for while making games like this.