Tic-Tac-Toe game against an AI