Write a program that simulates the two-player game Rock, Paper, Scissors. Use a
ID: 3619457 • Letter: W
Question
Write a program that simulates the two-player game Rock, Paper, Scissors. Use a RandomIntGenerator to determine whether each player picks rock, paper, or scissors. The program should play five rounds of the game. For each round, the program should first determine if the players tied (the players tie when they pick the same item). If the players tied, the round should not count and the program should do that round over again. If the players did not tie, the program should display (using System.out.println) each player’s choice and the winner of the round. After all five rounds have been played; the program should display the number of times each player has won. Base the winner of each round on the table below, where W = win, L = loss, T = Tie.
Explanation / Answer
please rate - thanksRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.