a simple game of tic-tac-toe