Everything seems to be working in my dice pig console game except for determining the winner between the user and the computer. It is supposed to say you win when you reach 100 points. Anyone help?
I mean, when you're in that loop, there's no way to change "continuePlay" to anything else since you're not checking inside the loop if someone went over the score.
Yelnatz is right - if continuePlay is equal to 1 at the start of the loop, then the loop will run forever, because continuePlay will never change from being equal to 1.
Also, why are you defining your functions inside the body of your main function? That's not the usual way of doing things.