Skip to content

๐ŸŽฏ Python console Tic-Tac-Toe game with unbeatable AI using Minimax + Alpha-Beta Pruning. Pure Python, no external dependencies.

Notifications You must be signed in to change notification settings

DaxnGo/tictactoe_ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  Tic-Tac-Toe with Unbeatable AI (Python)

๐Ÿ“– About

๐ŸŽฎ A Python console-based Tic-Tac-Toe game with an unbeatable AI using the Minimax algorithm and Alpha-Beta pruning. Play as X or O against an opponent that always makes the best move. Perfect for learning game logic, recursion, and AI algorithms โ€” no extra libraries required.

๐ŸŽฏ Features

  • Unbeatable AI using Minimax + Alpha-Beta pruning
  • Play as X or O
  • Clean terminal interface
  • No additional dependencies
  • Educational example for AI decision-making

๐Ÿ“ท Demo

image

๐Ÿ›  Installation & Run

  1. Clone this repository:
    git clone https://github.com/yourusername/tictactoe-ai.git
    cd tictactoe-ai
    

๐Ÿƒ Run the game:

python tictactoe_ai.py

About

๐ŸŽฏ Python console Tic-Tac-Toe game with unbeatable AI using Minimax + Alpha-Beta Pruning. Pure Python, no external dependencies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages