Text-based tic-tac-toe game.