Skip to the content
PCBKitNew board
2 layersSmart tic tac toe, the printed circuit board in 3D

A two-player Tic-Tac-Toe game built using an ESP8266 NodeMCU board, 5 physical push buttons, and a Wi-Fi-based web interface — no need for external hosting or filesystem upload!

Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
30
Pads
50
Tracks, vias
56, 0
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
12 Jun 2025
Updated
12 Jun 2025

Overview

Smart tic tac toe is an open-source printed circuit board by Git-gautham, from the Git-gautham/Smart_tic_tac_toe repository on GitHub. It is a 2-layer board with 7 parts on 30 nets, routed with 56 tracks and 0 vias.

Its parts include 5 switches and 2 connectors.

README

README.md

ESP8266 XOX Game (Tic-Tac-Toe)

A two-player Tic-Tac-Toe game built using an ESP8266 NodeMCU board, 5 physical push buttons, and a Wi-Fi-based web interface — no need for external hosting or filesystem upload!

🔧 Features

  • 🕹️ Real-time interaction with physical buttons:
    • UP, LEFT, RIGHT, SELECT, and DOWN (optional)
  • 🌐 Access via browser — ESP8266 runs in AP (Access Point) mode
  • 🧠 Smart in-browser UI:
    • Grid highlighting with cursor
    • Tracks turns for X and O
    • Win/draw detection
    • Scoreboard
    • "Next Game" and "Reset Score" buttons
  • 🪛 Simple, detachable hardware via header pins
  • 🖥️ No LittleFS or SPIFFS required

📷 Screenshot

Screenshot1

Screenshot2

Screenshot3


🖥️ Web Interface

Once powered on:

  • Connect to Wi-Fi: XOX_Game (password: 12345678)
  • Open browser and go to: http://192.168.4.1

🔌 Hardware Setup

FunctionNodeMCU PinGPIOStatus
UpD15✅ Connected
LeftD24✅ Connected
RightD514✅ Connected
SelectD612✅ Connected
DownD713✅ Connected

ESP8266 Dev Board: NodeMCU v1.0 (ESP-12E module)
Buttons: Tactile push buttons **Hardware simulation : Circuit demo !!Down button is not placed due to certain technical difficulties


🛠️ Schematic (KiCad)

The PCB includes:

  • Female headers to plug/unplug NodeMCU
  • 5 push buttons connected to GPIOs
  • All traces on the bottom side

🚀 Getting Started

  1. Open src/xox_game.ino in Arduino IDE
  2. Select board: NodeMCU 1.0 (ESP-12E Module)
  3. Upload the sketch
  4. Connect power, join Wi-Fi, and play!

🧠 TODO / Improvements

  • Add buzzer feedback or LED indicators
  • Expand to multiplayer over web (ESP8266 WebSocket)
  • Add OLED support

Parts

7
QtyValueFootprintReferences
5SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2, SW3, SW4, SW5
2Conn_01x15_SocketConnector_PinSocket_2.54mm:PinSocket_1x15_P2.54mm_VerticalJ1, J2

Questions

What parts does the Smart tic tac toe use?

7 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Smart tic tac toe KiCad files?

From the Git-gautham/Smart_tic_tac_toe repository on GitHub, at the commit this page was made from: the board is pcbfiles/Smart_Tic_Tac_Toe.kicad_pcb and its schematic pcbfiles/Smart_Tic_Tac_Toe.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Smart tic tac toe design in my own project?

Its repository states no licence, so its author keeps all rights: ask Git-gautham before reusing the design.

Similar boards

  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    7 parts1kGPL-3.0
  • 2 layersRj45 breakout, the printed circuit board in 3D

    Rj45 breakout

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    7 parts990GPL-3.0