- Joined
- Dec 17, 2004
- Messages
- 47
- Reaction score
- 0
Hi.
i'm working in visual c++ and im doing a text based game as a school project.
my problem is regarding the options the player have.
lets say each screen gives the player 3 diffrent options to choose from, how am i supposed to deal with them?
surly there is a better way then doing million "if" check every time the player choose one of those options?
in other words i need an idea for a faster way to know which option has been chosen so i could load the approprate screen.
thanks in advence.
i'm working in visual c++ and im doing a text based game as a school project.
my problem is regarding the options the player have.
lets say each screen gives the player 3 diffrent options to choose from, how am i supposed to deal with them?
surly there is a better way then doing million "if" check every time the player choose one of those options?
in other words i need an idea for a faster way to know which option has been chosen so i could load the approprate screen.
thanks in advence.