Terminal application of tic-tac-toe in which two users play against one another