Creating dynamic video-game inventory, structuring stored objects and displaying them through the graphical user interface.
This paper investigates data structures’ use in the game development. The project aim was to create an inventory system, that automatically groups, counts and names game objects dynamically in an efficient way. Moreover, this paper presents the design and implementation of the game inventory system, developed with the use of data structure known as dictionary. Furthermore, to demonstrate how the system works, graphical user interface was created. System appears to be very fast with large amount of objects, both in insertion and retrieval. This was achieved by storing a single instance of the object and incrementing only a count. Some functions used recursion principle, to avoid looping if not necessary.