3D4x Game: 3D 4x4x4 Tic-Tac-Toe


Are you tired of playing the same, old, boring, 2-dimensional tic-tac-toe?? Well, we have the solution for you! Tic-tac-toe in 3-dimensions!!! For 2 players, in this 4x4x4 cube, get 4 LEDs in a row (in any direction) and you win! You make it. You play it. In this Article we will Briefly describe 3D4x Game: 3D 4x4x4 Tic-Tac-Toe

3D4x Game: 3D 4x4x4 Tic-Tac-Toe

Step 1: Gather Components and Tools

The most essential component of this 3D Tic-Tac-Toe is the LED. We chose the PL9823 which already has an integrated controller inside. It has four pins (Data-in, Voltage-Supply, Ground, Data-Out), and allows you to easily address and control the color of the LED. The grid structure can be built in many different ways, but for us this was the cheapest, sturdiest, and most aesthetic option.

Component List:

  • Arduino (we used Uno)
  • PL9823 LEDs (at least 64)
  • Wooden skewer sticks (24cm long)
  • Wiring (we used the insides of an old ethernet cable)
  • Buttons (momentary state)
  • 7 Resistors (220Ohm)
  • Breadboards (1 for buttons and playing, 1 for easy panel connections to Arduino)
  • Foam polystyrene board (~2x30x30cm to make the panels)
  • Foam polystyrene block (~7x25x25cm as the base for the entire grid)

Tool List:

  • Soldering iron
  • Soldering tin
  • Glue
  • Straightedge with ruler
  • Pliers
  • Wire strippers
  • Wire cutters
  • Scissors
  • Marker
  • Pen
  • Tweezers

Step 2: Make the Grid

We make 4 panels of 4×4 LEDs individually.

  • 00: Get styrofoam to make the panel layout. Draw the pattern. In this case, we used 6cm spacing between LEDs with 2cm on the ends.
  • 01: Insert the LED pins into the styrofoam. Important! Make sure you insert all the LEDs with the same orientation. In our case, we chose the output pin to be towards the left.
  • 02: Now place the wooden rod skewer sticks on both sides of the LEDs in rows, making sure the points all face the same direction. Glue the stick to the sides of the LED bulbs and let dry.
  • 03: Do the same for the columns of wooden rod skewer sticks on both sides of the LEDs, making sure the points all face the same direction. Glue and let dry.
  • 04: Gently remove by loosening the LEDs all around. Lift the panel out and flip over. Glue the backside so it is more secure.
  • 05: After everything is dry, bend the pins to make the soldering easier and help to avoid any electrical lines from crossing. We use a tweezer and bend the pin from close to the base.
  • 06: Now prepare the wires. We used an old ethernet cable which has 4-twisted-pair wires inside. Remove the insulation being careful not to cut the small wires. Then untwist, choose your colors to correspond to the different lines, and cut to the right length between the LEDs. Then strip a little bit of the insulation off the ends. We chose ground=green, Vdc=blue, data in/out=white.
  • 07: Solder! There’s a lot of connections (64×4), so be careful to solder correctly.
  • 08: Remove the panel, and place on the foam base!
Read More

About The Author

Muhammad Bilal

I am highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Scroll to Top