Skip to content

panpusto/cs50-ai-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Clone this repo.
  2. 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.
  3. Now, you can run the game: python3 runner.py.
  4. Enjoy!

About

Tic Tac Toe game with minimax and alpha-beta pruning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages