The application is as below:
A game called ‘Win, Lose or Draw’ is played using two 4-faced dice shaped as pyramids. The faces on each dice are numbered 0, 1, 2 and 3. A player rolls the two dice, labelled X and Y. The outcome of a roll is one of 16 possibilities. Design and implement a hardware device that will simulate the game of ‘Win, Lose or Draw’.
Your design should accept decimal numbers, X and Y, where X and Y result from rolling of the pyramid dice.
Compute the sum, S = X + Y.
Determine the game outcome:
o Win if S = 3
o Lose if S = 0 or S = 6
o Draw if S = 1, 2, 4 or 5
Display the outcome (Win, Lose or Draw) of the game.
Show all the design steps and explain the functionality of this circuit clearly.
Demonstrate your circuit to verify the specifications.
I going to use 4x4 keypad as the inputs for both number X and Y. X will be X0 and X1 and Y will be Y0 and Y1. Both binary numbers will be added and 3 k-maps are formed. 3 leds will represents "win" , "lose" and "draw" respectively. However , how to light up the leds according to the conditions above. Can use multiplexer to solve it?