A minmax based tic-tac-toe game for a school project.
We have implemented two functions regarding the variations of MinMax algorithm. One with Alpha-Beta pruning and one without it.
Alpha-Beta pruning helps us to make our calculation function runs faster.
You can find more information about Alpha-Beta pruning here
We're using python version 3.9, pyenv
, and pipenv
for configurating the system's python versions and virtual environments.
- Install
pyenv
- Install
pipenv
- Use
pyenv
to set your Python version to3.9.x
- With
pipenv shell
command this should be done automatically, however if something goes wrong you can run this command.
- With
- In project folder, run
pipenv shell
command to create and use a virtual environment. - Run
pipenv install
to install dependencies from thePipfile
. - Run
python main.py
to run the application locally.