TicTacToe CLI with optimal AI