Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

4. I can tell when team members dont mean what they say.

Answered: 1 week ago

Question

2. How were various roles filled?

Answered: 1 week ago