Create a complete game loop to play tic-tac-toe on the command line