CS50 - Introduction to AI with Python
Project 0 - Tic Tac Toe
Description
Tic Tac Toe game with implemented AI, using minimax algorithm and alpha-beta pruning.
How to run
- Clone this repo.
- To start the game you need to install pygame library. So you can create virtual environment.
In game directory execute:
python3 -m venv .venv
. Then activate venv:source .venv/bin/activate
(on macOS and Linux). Finally, install requirements:pip install -r requirements.txt
. - Now, you can run the game:
python3 runner.py
. - Enjoy!