Iohorizontictactoeaix __top__
Each cell stores 'X' , 'O' , or '' .
: If the AI has two in a row, it immediately places the third to win. iohorizontictactoeaix
def get_best_move(board): best_score = -10000 move = -1 Each cell stores 'X' , 'O' , or ''
Each cell stores 'X' , 'O' , or '' .
: If the AI has two in a row, it immediately places the third to win. iohorizontictactoeaix
def get_best_move(board): best_score = -10000 move = -1 Each cell stores 'X' , 'O' , or ''