Skip to content

julingc/tictactoe-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

A Tic-Tac-Toe game that you play against AI, which you can never win!

The AI was implemented using Minimax and Alpha-beta pruning algorithm.

Demo

Installation

Run pip3 install -r requirements.txt to install pygame.

Getting Started

cd to the directory and run python3 runner.py to start playing!

Project description

It is one of the projects for Harvard's online course CS50’s Introduction to Artificial Intelligence with Python. There are two main files in this project: runner.py and tictactoe.py. runner.py was implemented by the teaching staff, and contains all of the code to run the graphical interface for the game. In tictactoe.py, I implemented all functions except initial_state.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages