Main Content

An ESP32 microcontroller version of Connect4 game, which is played on a 2.8 inch color TFT touch display.

Connect Four is a two-player connection rack game, in which the players choose a color and then take turns dropping colored tokens into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column. The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one’s own tokens.

This time I will present you an ESP32 microcontroller version of this game, which is played on a color TFT touch display. You can find the original project on Joern Weise GitHub (, and I slightly modified the code by adding some sounds that made the game even more interesting and realistic.”

Link to article