TicTacToeRobot

Tic tac toe playing robot

Robot playing tic tac toe against a human player using an AI algorithm

Code:

the code can be found Here.





Description:

First you choose which player plays first (human or robot).
On the first frame we detect the board in the camera feed with red color detection.
when motion is detected (the player draws his move on the board) the robot waits.
Once the motion stopps we detect circles with hough transform algorithm,
if there’s a new circle then that’s the player’s move and its the robot’s turn.
we search for the best move possible with minmax algorithm.
then the robot makes the move
and most importantly, if he wins he does a little victory dance.


Demonstration:

Contact Us:
Mor Zamir: morzus90@gmail.com
Shiran Afergan: shiranaf@live.com
Haneen Najar: haneennaj24@gmail.com

Accessibility
Close Close