(Java)
Okay, so I recently started learning java because I honestly love the whole idea of programming. Not for school, but I just practice it in my free time. A while ago I started creating a text-based game, kind of like Zork (or Zorg, can't remember). I was also trying to figure out how I would get an inventory system to work. The player has to be able to access the inventory at any time throughout the game, and if he picks up an item it has to be in his inventory. I don't think I should share the code because there honestly isn't a lot to work with - I just need help with the concept itself.