Experience the classic game of Tic-Tac-Toe like never before with this AI and computer vision-powered project! Play using hand gestures in front of your camera, thanks to MediaPipe and OpenCV.
Key Features
š„ Multiplayer Mode: Play with a friend by selecting game modes through hand gestures.
š¤ Single-Player Mode: Challenge the computer's AI powered by the Minimax algorithm.
ā Hand Gesture Controls:
One finger: Solo play.
Two fingers: Multiplayer.
Three fingers: Start a new game.
Four fingers: Quit.
How to Play
Launch the game and choose a mode using hand gestures.
Point to a cell and close all fingers to place your X or O.
View game results on the screen.
After the game:
Show three fingers to play again.
Show four fingers to exit.
Source Code
Check out the complete source code on GitHub: game.py
Notes
This project is a work in progress. Improvements are underway to enhance finger detection accuracy and result display speed for a seamless play