Artificial Intelligence - 6

AIM: Write a program to create tic-tac-toe game using the alpha-beta algorithm. Consider following steps to create a program in python: 1. Create class StateNode with its proper members (getScoreValue(), isValidMove(), isGameOver(), drawboard(), getEmptyCells(), setMove(), isWin(), etc.) 2. Create class ticTacToe with its proper members (alphabeta(), computerMove(), playerMove(), execution(), etc.) 3. Create appropriate heuristic function to solve this problem 4. Use only math, random, matplotlib libraries in python Program: from math import inf as infinity from random import choice import platform import time from os import system HUMAN = -1 COMP = +1 board = [ [0, 0, 0], [0, 0,...