Skip to content

A classic Tic-Tac-Toe game implemented in Python. This project includes multiple types of players, including human players and AI with different levels of complexity.

License

Notifications You must be signed in to change notification settings

BBoyRomano/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Description

A classic Tic-Tac-Toe game implemented in Python. This project includes multiple types of players, including human players and AI with different levels of complexity.

Features

  • Human vs Human: Play against another human player.
  • Human vs Random AI: Play against an AI that makes random moves.
  • Human vs Strategic AI: Play against an AI that uses a basic strategy to win or block.
  • Human vs Optimal AI: Play against an AI that uses Minimax with Alpha-Beta Pruning for optimal play.

Installation

  1. Clone this repository to your local machine:
    git clone https://github.com/BBoyRomano/tic-tac-toe.git
  2. Navigate into the project directory:
    cd tic-tac-toe

Usage

To start the game, simply run the main.py script. You can configure the players by editing this file.

python main.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A classic Tic-Tac-Toe game implemented in Python. This project includes multiple types of players, including human players and AI with different levels of complexity.

Resources

License

Stars

Watchers

Forks

Languages