Question: Description: Your task is to implement the Rock-Paper-Scissors game in Java. You must first display a nice game title and ask the user for their

Description: Your task is to implement the "Rock-Paper-Scissors game in Java. You must first display a nice game title and ask the user for their name. The computer must randomly choose 0, 1 or 2 (0 = Rock; 1 = Paper; 2 = Scissors). The user must be allowed to choose 0, 1 or 2 (0 = Rock; 1 = Paper; 2= Scissors). Your program must display each choice in words (user and computer) as well as the winner. Please ensure that you always display the user's name in a sensible format (proper case). Good coding practices are expected (sensible variable names, indention, comments, etc.). Screenshots: The following screenshot will give you an idea of what the game could look like. Please enter your name: Ron Hello Ron. Welcome to the game. Enter your choice (0=rock, 1=paper, 2-scissors) 0 Ron chose ROCK. Computer chose PAPER. Computer wins
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
