
Let’s open up tictactoe.py to get an understanding for what’s provided. Once you’ve completed all the required functions in tictactoe.py, you should be able to run python runner.py to play against your AI! runner.py has been implemented for you, and contains all of the code to run the graphical interface for the game. tictactoe.py contains all of the logic for playing the game, and for making optimal moves. There are two main files in this project: runner.py and tictactoe.py.

Download the distribution code from and unzip it.

Using Minimax, implement an AI to play Tic-Tac-Toe optimally. Introduction to Artificial Intelligence with Python
