Tic-Tac-Toe console game with an unbeatable AI