Question: Hello! can someone please help me write this java program! Thank You! Assignment Write a Java program that plays the game Rock, Paper, Scissors. Instead
Hello! can someone please help me write this java program! Thank You!
Assignment Write a Java program that plays the game Rock, Paper, Scissors. Instead of using rock, paper and scissors use Boulder, Tissue and Chainsaw The program should generate a random choice (Boulder, Tissue or Chainsaw) then ask the user to choose Boulder, Tissue or Chainsaw. After that the program will display its choice and a message showing if the player won, lost or tied. Next, the program should prompt the user to play again or not. Once the player selects to stop playing the game, the program should print the number of wins, losses and ties by the player Run your program and show at least 2 examples of playing the game before quitting. For example, the output might look like Choose : (0-Boulder, 1-Tissue, 2=Chainsaw): 1 You chose 11ssue Computer chose Boulder You win Play again? (y): y Choose: (0-Boulder, I-Tissue, 2-Chainsaw): 0 You chose Boulder Computer chose Chainsaw You win Play again? (y): n You won 2 times You lost 0 times You tied 0 times
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
