# Rock Paper Scissors On Logisim

Question 1
You have to design game on Logisim. To play and understand this
There will be two players using their signs i.e. rock, paper and scissor.
, scissors beats paper, and . If both players select the
same sign, then it is a tie. Your circuit will determine the winner. The winner score is updated
and games will repeat. Your circuit should have two inputs for first and second players. Each
player should have 2 bits each. Your circuit must have two outputs Score and Win.
Your circuit should resemble like this:

Department of Computer Science Page2

Guideline for designing this circuit. Inputs Description
Reset reset player’s score to 0
Go evaluate A, B, C, and D
Left Player Left players is two bits each.
Right Player Right players is two bits each.

Clock update that player’s counter
You can either toggle the Clock line manually, or enable a slow tick (e.g., 1 Hertz) in the simulator.
Outputs Description
WinTie (1 bit) set to 1 if this player wins or ties, 0 if this player loses or if either inputs are illegal
Connect to LED for output
Win (1 bit) set to 1 if this player wins, 0 for all other conditions
Connect to LED for output

Score (4 bit) Update 4 bit counter when player wins
Connect score to Hex Digital Display for
output
Hint-1: 4 bit Counter
You have to design your own 4 bit counter. Connect the output of a 4-bit Adder to a 4-bit
register. Then feedback the register’s value to the adder. This sub circuit has three
inputs: Increment, Reset, and Clock. There is one output, the 4-bit value stored in the register.
The counter should increment whenever Increment is high and upon the clock’s leading edge.
Any time Reset is high, the counter resets to 0 regardless of Increment or Clock. (You dont
have to use built-in counter)
Hint-2
*For Gate Propagation Delays you can refer to 4 bit ripple adder.
Hint-3: K-Maps
Basically you have three states. E.g., if the value is 00 then it means it is rock. 10 means paper,
11 means scissors. 01 means illegal sign. You can derive equations using K-Maps. Construct
a K-map for the game’s four inputs (two inputs each for the two players) for the left
player’s Win/Tie and then another K-map for left player’s Win outputs. Then construct two more K-maps for the right player’s Win/Tie and Win outputs.
Sign Bits representation
Rock 00
Paper 10
Scissors 11

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.