In my childhood I could not remember how many papers I have used to play this game. Sometimes we played this game with friends inside the class also. Now we have entered in a digital world and every thing is entering to the digital world.
Our interest is also changing. But something we could not forget our childhood memories. Still we can remember our childhood when we see this. Now I am an engineer . So I thought why not bring our childhood back by making this game in a breadboard.
The idea is simple !
I used two different color LEDs(In my case I used yellow and green color LEDs) to represent two players.there are 9 pairs of LEDs(9 yellow color and 9 green color).I connected each led in parallel configuration using a 9V battery and a resistor.
Lets get started --------->>>>
Step 1: How the Actual Game Works
According to Wikipedia-
Tic-tac-toe (also known as noughts and crosses or Xs and Os) is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
Step 2: What You Will Need
- 18 LEDs(9 pair of LEDs )- 9 yellow and 9 green LEDs
- Connecting wire
- 9V Battery
- 330 ohm resistor
Step 3: How to Connect & How It Works
- Place LEDs as per the above pictures.
- connect a 9V battery to breadboard along with a resistor( connect 330 ohm resistor to the -ve terminal of battery).
- I have followed parallel configuration.
- connect each cathode of led to ground of battery.
- get 9 wires and connect it to the anode of battery in the breadboard.
- so this 9 wires can be placed accordingly to glow LEDs . or I can say whoever uses this wires in a proper way they can win the game.
if you have any doubts feel free to ask in comments.
The only difference is that instead of paper and pencil you are playing with some wires and leds:)