Main Content

Tug of War is an old game where two players pull on a rope, one player winning by pulling the rope far enough to their own side.

Tug of War is an old game where two players pull on a rope, one player winning by pulling the rope far enough to their own side. Now this game is also known to the younger generations thanks to the mega-popular Korean TV series “Squid Game”.

Today I will show you how to make an electronic version of this game that is played on a homemade 8 on 8 Led Matrix. In this version, the two players press a button as fast as they can to pull the virtual rope to their side. The code is taken from the Andrew R McHugh GitHub page, and the hardware part differs in that the matrix is homemade and consists of 64 5mm LEDs. I also made two robust large Arcade buttons for a better gaming feel. I decided to make these custom buttons because I plan to use them later in my other projects, considering that they are really solid and great to play. In this case, I use the box from one of my previous projects, so the code is minimally modified.

The rules of the game are as follows:

Two players mash their buttons as fast as possible. When one player gets a point, the board flashes, and points to them with an arrow. When one player wins (first to three points), the board flashes and shows the number of the winning player (left = 1, right = 2). Music plays in the background, randomly generated from the E minor. Music speed increases as either player get closer to winning a point.”

Link to article