Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 23 In the game rock, scissors, and paper we have the following rules: Rock break scissors Scissors cut paper Paper covers rock If were
Exercise 23 In the game "rock, scissors, and paper" we have the following rules: Rock break scissors Scissors cut paper Paper covers rock If were to create a code to represent the three entities, rock, scissors, and paper, we would need two bits. Suppose we have the following code, where we call the first bit x and the second bit Y: Y 0 Rock O Scissors o Paper 1 1 0 Now is we have two player who can each choose one of these codes, we can play the game. Examples Player 1 Rock(0,0) Player 2 Scissors (0,1) Player 1 wins Player 1 Scissors (0,1) Player 2 Scissors(0,1) Tie Player 1 Rock (0,0) Player 2 Paper(1,0) Player 2 Wins We see that are three possible outcomes of the game : player 1 wins, tie, Player 2 wins. Complete the table below that describes all the possible outcomes of the game. Player 2 wins Player 1x,y Player 2x,y Player 1 wins Tie 0,0 0,0 0,0 0,1 1 0 1 0 0 0 0,0 1,0 0,1 0,0 0,1 0,1 1,0 0,1 1,0 0,0 1.0 0,1 1.0 1,0 TOTALS
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started