This project is a console-based story game built with C#. The game showcases object-oriented principles by encapsulating player data and methods, and by structuring the game's flow using function calls.
- Object-Oriented Design: The game uses the Player class to represent the player's character, encapsulating properties like Health, KindnessPoints, and methods like AddKindnessPoints. This allows for modular and maintainable code.
- Function-based Flow: Different game scenarios are organized into functions, allowing easy modifications and expansions to the game's narrative.
- Dynamic Player Interactions: Players can make decisions that affect the game's outcome, which is achieved using conditional statements and switch cases.
Prerequisites: You should have .NET Core SDK or .NET Framework installed on your machine.
Steps:
Clone the project
git clone https://link-to-project
Go to the project directory
cd pathtodirectory
Compile the game
dotnet build
Run the game
dotnet run
Once you see the game's introductory prompts, follow the on-screen instructions to navigate through the game!
I appreciate feedback, if you encounter any issues or have suggestions for improvements, please let me know.