Question
1. Code the Rock Paper Scissors program:
a. Get a move choice from playerA which must be R,
P, S or r, p, s
Loop until you get a valid move
b. Get a move choice from playerB in the same manner
c. Display the results using the accepted phrases from the game
Rock breaks Scissors,
Paper covers Rock,
Scissors cuts Paper
and indicate the winner (Player A wins) or
Rock vs Rock it's a Tie! Etc...
d. Prompt the user to play again [Y/N]
e. Continue or terminate based on the user's choice.
I also need it to loop when the user enters something invalid.
This assignment is giving me so many errors I do not know how to fix.
Top Answer
Java code can be... View the full answer