Question: Create a truth table for the following game below. With 4 inputs and 3 outputs. Two players are playing a game. Both players are holding

Create a truth table for the following game below. With 4 inputs and 3 outputs.

Two players are playing a game. Both players are holding either 0,1,2, or 3 fingers up. If the sum is even, player 1 wins. If the sum is odd, player 2 wins. The sum of 5 is the max total each player can hold up. If the sum is greater than 5, the game must be redone. AB represents player 1. CD represents player 2.

P1 wins- 1, if player 1 wins (even sum of fingers), 0 otherwise

P2 wins- 1, if player 2 wins (odd sum of fingers), 0 otherwise

Out of bounds-1 if sum of fingers held up is 0, 1, or 6

Inputs are (A,B,C,D)

Outputs are(E,F,G)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!