In this chapter, we are going to learn how to add treasures and equipment to our game. These items will be game entities like our player character and the monsters and will be placed into random positions inside the dungeon.
Adding support for such items is not just a matter of creating the entities and throwing them onto the map. There needs to be some user interface to handle inventory. Before working on the items themselves, we need to work on the game UI.