Video Game Outcome Question

Heya, guys. For those of you who don't know, I am attempting to create a Command-Line Role-Playing Game.

I am fairly new to C++, so everything I learn I'll try and adapt it. I have made a bit of progress on this game, but I've also had a few challenges.

The next problem I am having is the outcome of certain actions that are available.

In the game, your uncle is treating you poorly, and one day, you have the opportunity to make a decision. There are four choices, and each one will have a different outcome.

My question is:

Will I have to write the rest of the game in that If Statement, or is there an easier way to create choices in the game?

For example, if a player decides to kill his or her uncle, do I have to write what will happen for the rest of that game in that If Statement? Or is there some sorter, cleaner, and faster way of creating an outcome?

Thanks a lot. :)
functions functions functions

http://cplusplus.com/doc/tutorial/functions/


1
2
3
     if(user_chose_a)   DoOptionA();
else if(user_chose_b)   DoOptionB();
else if(user_chose_c)   DoOptionC();
Topic archived. No new replies allowed.