hey there!
I just started the 2d course and wanted to add a bit of flair and make my text game a little more fun. The idea im working along is the old D&D type class idea. I’d like to be abel to ask the player in the first screen what class they want to be.
based on that choice i’d like to set up a boolean of some sort that represents that.
Then, as the player goes through the game, i’d like to offer them alternate ways to progress dependent on class, so it’d be like this :
A monster is ahead. Would you like to:
- attack the monster
- magic the monster
- creep past the monster
then dependednt on thier class and the choice, the game would say wether it passed a check or not. So obvs the warrior would choose option 1. but if they chose option 3 then the game should go a different way because a warrior can’t sneak past…
anyone know how hard it would be to introduce that with the state system?