Introduction: Electric Four-in-a-Row

Experience the classic Connect Four game with a modern twist through the Electronic Connect Four device, featuring 14 buttons and 42 LED lights. This innovative game includes 14 intuitive buttons for column selection and a 6x7 grid of LEDs that light up in red and yellow to represent player moves, enhancing visual appeal and gameplay clarity. Players take turns pressing buttons to drop dynamic lighting tokens into the grid, aiming to align four in a row to win, whether vertically, horizontally, or diagonally. Not only fun, this game promotes strategic thinking, problem-solving, and hand-eye coordination, making it ideal for all ages. Rediscover the charm of Connect Four with this engaging, technologically advanced version.

Supplies

14Buttons

24 LEDs

Arduino Leonardo

Breadboard

Transistor

Step 1: Welding

Use a soldering gun and solder to connect the buttons and LED lights


Step 2: Wiring

Connect the LED light to D2

Connect the first red and yellow buttons to D3

Connect the second red and yellow buttons to D4

Connect the third red and yellow buttons to D5

Connect the fourth red and yellow buttons to D6

Connect the fifth red and yellow buttons to D7

Connect the sixth red and yellow buttons to D8

Connect the seventh red and yellow buttons to D9

Connect the transistor that is connected to the red button to D10

Connect the transistor that is connected to the yellow button to D11







Step 3: Crafting the Look

You need 42 holes on the screen, and 14 holes for the buttons

Then decorate it how you like.

Step 4: Program

 Adding Neopixels Adafruit library:

- Go to Sketch->include library->manage libraries...

- Search and install Adafruit NeoPixel