0
I need debuging! Can anybody help with my RSP game?
http://pastebin.com/Tp7GALx9 It should at the end of the round if the player wants to play more or not by Y/N. But when the second round starts it doesn't ask the player anymore, it just puts him in to a loop by playing non-stop. I mean, you can put in <4.> but doesn't seem as effective as it should be...
1 Resposta
+ 2
for that in c++...
char userInput = 'y';
while(userInput == 'y' || userInput == 'Y'){
//play your game here
cout << "go again? ";
cin >> userInput;
}//eowl
//rest of main code.