Tic-tac-toe machine using an Arduino or ATMEGA chip