This is Tic Tac MAGneToe, As the name suggests it uses an electromagnet to move the game pieces, both for you and itself.
NOTE: It does drop pieces which I'm hoping to fix :-(
It has 3 buttons and 2 LED's to indicate if you are selecting Coloum or Row.
The 3 servo's provide a delta positioning system.
Some enamel coated copper wire wrapped around 1/2 an iron nail connected to a relay and 1.5v battery produces the magnet.
And Yes it consumes that AA way to fast.
The Magnet's coils two wires each go to a seperate upright and I attached a dupe wire to help stop a little of the interference they cause, this combined with the cardboard fin's gives much great repeat control.
The X's and O's have a small washer taped to the back of them for some metal \m/ attraction.
To obtain all the servo positions I attached 3 extra buttons so I could control each servo and printed the position to the serial monitor.
At the moment the program is simple:
You go first, the Arduino will then, A) check if it can win B) Block you or C) place randomly.
If the game end's, it'll (try) to replace all the game piece's to start over.
What else I'd like to include:
Difficultly Levels with some simple strategy.
Some scoring LED's
And a 2 Player option.
Then of course fit it all inside the box it's built on :-) and add loads more hot glue for any possible reason!
And Lastly Issue's!
IT NEEDS MORE POWER :-) The Battery looses the will to live very fast and so the magnet sometimes doesn't pick up the pieces. A D cell might help a little, but I have none on hand.
This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/tic-tac-magnetoe