Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.2 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.2 KB

tic-tac-tai

A minmax based tic-tac-toe game for a school project.

MinMax Algorithm

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

How to run in local?

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 to 3.9.x
    • With pipenv shell command this should be done automatically, however if something goes wrong you can run this command.
  • In project folder, run pipenv shell command to create and use a virtual environment.
  • Run pipenv install to install dependencies from the Pipfile.
  • Run python main.py to run the application locally.