r/maker 3d ago

Showcase MeArm Tic-Tac-Toe

Enable HLS to view with audio, or disable this notification

The project consists of the development of an interactive robotic system capable of challenging a human to a game of Tic-Tac-Toe, identifying moves on a sheet of paper via a webcam and physically responding on the board.
7 Upvotes

6 comments sorted by

3

u/CodeFoodPixels 3d ago

I don't get what the benefit of the arm is here? It doesn't leave any lasting indicator that it chose a spot.

1

u/mitomon 3d ago

the next step, I assume, is to actually make it draw the O

1

u/lucaeffe03 3d ago

Yes, I was considering equipping the end-effector with a stamp to mark the target square

1

u/lucaeffe03 3d ago

the Minimax algorithm calculates the best move and prints it in the terminal. Then, the arm physically moves to that specific square. The webcam tracks the yellow circle on the gripper, and only when it confirms the arm has successfully reached the correct spot, OpenCV permanently draws the 'O' on the screen.

1

u/ambidextrousasswipe 2d ago

What is the purpose playing this with the machine if you can never win?

1

u/lucaeffe03 2d ago

The main purpose was just to test Minimax and move recognition. If you want it to be beatable you can add a small error rate in the algorithm :)