Skip to content

eugeniavuong/CS50-AI-Project-tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tictactoe game using minimax algortithm

Where X aims to maximise the score and O aims to minimise the score

Project structure

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 whilst tictactoe.py contains all tge logic for the game, you should be able to run python runner.py to play against your AI.

How to run

run pip3 install -r requirements.txt to install the required Python package (pygame) for this project. The you can start playing my running python3 run runner.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages