Skip to content

A console-based game where the player can make decisions, those decisions will effect the outcome of the game/story.

Notifications You must be signed in to change notification settings

elliezub/ChooseYourAdventure

Repository files navigation

Choose Your Own Adventure

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.

Technical Features:

  1. 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.
  2. Function-based Flow: Different game scenarios are organized into functions, allowing easy modifications and expansions to the game's narrative.
  3. Dynamic Player Interactions: Players can make decisions that affect the game's outcome, which is achieved using conditional statements and switch cases.

Installation:

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!

Feedback & Contribution:

I appreciate feedback, if you encounter any issues or have suggestions for improvements, please let me know.

About

A console-based game where the player can make decisions, those decisions will effect the outcome of the game/story.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages