1. Project Overview
- Objective:
Create an interactive, life-sized tic-tac-toe game where the player competes against an AI. The player uses capacitive touch inputs to select game moves, and servo motors physically move pieces on the gameboard. The game provides visual feedback via NeoPixel LEDs and audio cues through a Speaker.
- Key Features:
- Capacitive touch input for player interaction.
- AI-powered gameplay with a smart algorithm.
- Physical servo-controlled game pieces.
- Dynamic visual feedback using RGB LEDs (NeoPixel).
- Audio feedback for actions.
- Reset functionality for restarting the game.
2. Hardware Components
To replicate this project, you will need the following hardware:
- ESP32 Microcontroller: Acts as the game’s brain, controlling inputs, outputs, and running the AI logic.

- MG996R Servo Motors (x9): These are used to rotate the pieces on the tic-tac-toe board.

- PCA9685 PWM Driver: Controls the servos via I2C communication, enabling precise movement.

- DFPlayer Mini: Used for playing sound effects during gameplay.

- NeoPixel LEDs: RGB LEDs for lighting effects and visual feedback.
