Schematic of a machine to play tic-tac-toe