|
@ -28,5 +28,8 @@ int wasGameWon(int roundsToWin, int playerWins, int computerWins); |
|
|
bool validatePlayerInput(int playerInput); |
|
|
bool validatePlayerInput(int playerInput); |
|
|
int getPlayerInput(); |
|
|
int getPlayerInput(); |
|
|
int playRockPaperScissors(int rounds); |
|
|
int playRockPaperScissors(int rounds); |
|
|
|
|
|
void printPrompt(int roundsToWin); |
|
|
|
|
|
void printResult(int playerInput, int computerInput, int roundWinner, int playerWins, int computerWins); |
|
|
|
|
|
void printWinner(int winner); |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |