I am tasked to design a rock, paper, scissor game using ttl 2 input gates and a DIP switch on my bread board. I cannot seem to quite get the logic together. It's designed so that an input of [11] from either player results in the 'error' LED illuminating, a tie has no results, a rock is [00], paper is [01], scissor is [10]. There's one LED for each player, which illuminates when the respective player wins the round. So three LED's total.So there's 4 inputs which I'm calling A, B, C, D. Player 1 is A,B and Player 2 is C, D. I've minimized the logic (hopefully correctly) to: Player 1= BC'+B'C+AD, and Player 2=BC+C'D'+A'D. I've attached the circuit simulation I have so far and my truth table.
This is probably really simple. I'm really struggling in this class... any help is greatly appreciated. Thanks.
This is probably really simple. I'm really struggling in this class... any help is greatly appreciated. Thanks.
Attachments
-
46.3 KB Views: 311
-
84.7 KB Views: 233