All of your logic is in the while loop right now, so it will keep repeating over and over. It will keep saying you are an Orc and restarting the adventure over again. If you want to develop this in maybe a better way, I would suggest looking up the concept of “ticks” and state machines in video games or you will keep hitting this issue. Or, think about moving your character creation logic outside of the while loop since you dont want that to keep repeating.
1
solved Having a Strange Issue in C++ [closed]