Console Tic-Tac-Toe with AI opponent