description:
"Mr. Sprinkle's Great Escape", is a Text Adventure game written in C# for both development practice and education purposes. One of the unique features with the game included an Attribute/Stat system as well as implementation of an Inventory system. The story follows the journey of a courageous Hamster, Mr. Sprinkles, as he must venture across various locations inside a room to escape from his cage, the house, and into the wilderness of freedom.
Design Goals:
Design Goals:
- To use C# to create a fully functional Text Adventure game.
- Implement unique features that made use of C# classes and lists via an Inventory and Attribute system.
- Design a funny, well-paced and flowing Text Adventure about a sad but courageous Hamster determined to escape.
inventory system:
Setting up the Inventory system using lists in C#. Using the GetGlobalInventory function acquires objects during gameplay and inputs them into the list, which acts similar to "arrays" that can be searched through, replaced, and "used".
Several functions were created to take advantage of the inventory system, especially for adding and removing items. Lastly, displaying and validations for determining if the list has a certain object were created for events in-game that required specific items, etc... for gameplay purposes.
attribute system:
Another aspect of this game was to create attributes for the "main character" to provide stats for the player character to manage and use as additional mechanics for gameplay.
Weight Attribute Example:
This system keeps track of a "weight stat" for the main character, Hamster, and uses it to determine the health of the Hamster during the game. Certain situations analyze the condition of the Hamster's weight, and dependent on these states, will allow players to survive, progress, or, if unfortunate, die.
Weight Attribute Example:
This system keeps track of a "weight stat" for the main character, Hamster, and uses it to determine the health of the Hamster during the game. Certain situations analyze the condition of the Hamster's weight, and dependent on these states, will allow players to survive, progress, or, if unfortunate, die.
Thirst Attribute Example:
The thirst system works in the same way as the previous weight attribute, however, it uses a "thirst stat" that decreases every time the player takes an action within the game. Managing the thirst stat throughout the game, and being mindful of how many moves the player can progress before needing a drink, is an important aspect of pacing for the game, and adding strategic challenge to the design.
The thirst system works in the same way as the previous weight attribute, however, it uses a "thirst stat" that decreases every time the player takes an action within the game. Managing the thirst stat throughout the game, and being mindful of how many moves the player can progress before needing a drink, is an important aspect of pacing for the game, and adding strategic challenge to the design.