I was really getting into my World of Zuul project yesterday. I spent quite a few hours working on it. Most of the work I done was paper based planning. I designed the map, which consists of 18 rooms and made a quick walkthrough on how I plan the game line to be.
I got some of the programming done as well. The map has all been programmed, as wall as which rooms a linked and so on. I've also set up an Item class to store items, and I now have certain items stored within certain rooms.
I'm having a few problems now. Firstly, I don't quite know how to get my "take" command working. All this does is pick up the item from the room (if there is one) and add it to the inventory.
Another problem I'm having is with the doors. I want some of them to be locked and only open if the player has the "key" in their inventory. There's a similar problem I face with the NPCs. There are only 2, but I want them to say certain things depending on what the user has done.
This is by far the biggest project I have worked on, so I knew I would run into problems. If anyone has advice on how I can solve my problems, I would be most grateful. I'm not looking for java code from you, more pseudocode.