Console-based Tic-tac-toe game using the Minimax algorithm