/Tic-Tac-Toe

This repository is my solution to Tic-Tac-Toe project of Introduction to Articial Intelligence with Python course by Harvard.

Primary LanguagePython

Tic-Tac-Toe

This repository is my solution to Tic-Tac-Toe project of Introduction to Articial Intelligence with Python course by Harvard.

This is an image

🚀 How to execute:

  • Clone the repository using git clone
  • Install the dependencies listed on requirements.txt
  • Run "python runner.py" on your terminal to play against my AI!

Observation: Let me know if you beat my AI!

🔎 Understanding:

There are two main files in this project: runner.py and tictactoe.py.

  • tictactoe.py contains all of the logic for playing the game, and for making optimal moves.
  • runner.py contains all of the code to run the graphical interface for the game. The functions are very well explained in the code.