Write a program that will enable you to play a simple tic-tac-toe game. It may look like the one in Figure 13.
In case you wanted to use the same colors as in the gif above, you may find the ANSI escape codes useful.
29 Tic-Tac-Toe ← → 29.2 Solution