Design a rock-paper-scissors game that uses a comparator to compare a player’s selection vs. the computer’s selection according to the following rules: – Rock smashes scissors – Scissors cuts paper – Paper covers rock – All other combinations are a tie Write a supplier which prompts the user for his or her selection, another supplier which randomly generates the computer’s selection, and a third supplier which prompts the user if he or she wants to play again. Keep score of the winner of each round. Print the final score and the overall winner at the end of the competition.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here