Write a program that will will facilitate a two player game of Paper, Scissors, Rock. The program will do the following:
Posted: Mon May 09, 2022 6:00 am
Write a program that will will facilitate a two player game of Paper, Scissors, Rock. The program will do the following: • Print Let's Play Paper, Scissors, Rock! • Collects a move for player one using the string literal Player one move: as the prompt • Collects a move for player two using the string literal Player two move: as the prompt • If there is a winner prints Player X wins where is the number of the player . Otherwise print It's a draw Notes • You can assume that both players will only enter valid moves, i.e 'paper', 'scissors' or 'rock'. • The case of an input move should not matter, so 'PAPER', 'SCissors' or Rock should also be accepted. Your program must include and use game_result exactly as defined in question one. • If you don't know how to structure a program perhaps look at the info panel above this question. For example: Input Result paper Let's Play Paper, Scissors, Rock! rock Player one move: paper Player two move: rock Player 1 wins Rock Let's Play Paper, Scissors, Rock! PaPeR Player one move: Rock Player two move: PaPeR Player 2 wins ROCK ROCK Let's Play Paper, Scissors, Rock! Player one move: ROCK Player two move: ROCK It's a draw Answer: Reset answer 1 2 Name: Your name Date: today 4 First program, plays a game of PSR 5 6 7. def game_result(movel, move): Tim"game_result *exactly* as defined in question one""" 9 10 11 12 def maino: 13 "Runs a single game of PSR""" 14 15 main() 8