A small scale .ini file reader produced as part of an API for games course.
The reader takes a file path to produce a data object of nested key-value pairs. The upper pair is used to produce sections of lower lists of pairs which contains the actual key-value pairs of data that can then be used by the program and/or game for things such as default health, damage, or score values.
Should a developer wish to later change these values it is simply a matter of altering the values within the files used by the reader, no input has to be made by the programmers outside of initial setup and implementation of data into the program allowing for quick prototyping and removes the potential time sink in having to go through lines of code to alter and test different values.
The XML graph displayed at the top of the page shows structure, execution, and functionality of the file reader.