Last weekend I was at a hackathon at Georgetown University where my team and I wrote a python program that allowed our home made delta robot to autonomously play tic tac toe with a human user. The Mathematica program I was working on was written to interface the arduino controlling the delta robot, and the python program which has the tic tac toe algorithm, by relaying information about the user input on the board through image processing.
The user input had to be from the computer however because I wasn't able to finish the image processing. The image was of the board taken by a logitech web cam attached to the main shaft of the robot. It didn't work reliably but did work generally.
Does anyone have a better way of doing this?
P.S. here is the code: http://paste.ofcode.org/JCyYF2tJtpcmRta8YjMhmW