Page 1 of 1

Write a program that plays a game of "Paper, Scissors, Rock” where a human player can play against a computer player. Th

Posted: Mon Jun 06, 2022 6:47 pm
by answerhappygod
Write A Program That Plays A Game Of Paper Scissors Rock Where A Human Player Can Play Against A Computer Player Th 1
Write A Program That Plays A Game Of Paper Scissors Rock Where A Human Player Can Play Against A Computer Player Th 1 (213.54 KiB) Viewed 20 times
Write a program that plays a game of "Paper, Scissors, Rock” where a human player can play against a computer player. The game rules are as follows: Scissors beats paper; ● Paper beats rock; Rock beats scissors; If both players choose the same, then a tie occurs. After completing a round, the human player must be able to choose to play again or not. If they wish to play again, another round should start; otherwise the program should terminate. Have the program keep a tally of the number of rounds played, the number of times the human player wins, the number of times the computer player wins, and the number of ties. Display these details when the program terminates. Follow good programming standards for whitespace, naming and commenting. Test your program to ensure the implementation is robust.