Tic-Tac-Toe game using min-max algorithm