TicTacToe on the command line
A TicTacToe game that you run on the command line. The game takes input from a human player and the program is the second player.
Tic-tac-toe is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game