In this project, you're going to make a "janken" circuit. Janken, a Japanese word, is a game played in Oriental countries including China. Janken literally is "a finger-slashing game of paper-scissors-stone." There are several versions of janken, such as a "water-glass-stone" game. In our version, the game is played with paper, scissors, and stone. Can you guess how to play this game?
The answer is this: the paper defeats the stone, which defeats the scissors, which in turn defeat the paper. Janken requires two players or more. A key to keep winning the game is to read the opponent's mind!
When you finish wiring, turn power ON.
You use the keys S1 - S3 and your friend uses S6 - S8. S1/S6 work as the stone, S2/S7 as the scissors, and S3/S8 as the paper. You and your friend say together "janken pon" and each presses one of the three keys.
The result is displayed as follows:
LED1 ON: You win.
LED 3 ON: Your friend wins.
LED 2 ON: Draw. Try again.
The circuit uses gates to form a logic circuit for janken game, which lights LED 1, 2, or 3.