Skip to content

signalbean/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A simple terminal-based Tic Tac Toe game written in Python.

Features

  • Player vs Player mode
  • AI opponents with Easy, Medium, and Hard difficulties
  • Clean terminal UI with colored board display
  • Minimax-based AI for optimal play

Requirements

  • Python 3.x

Run

python src/game.py

Controls

  • Choose a mode from the menu
  • Enter numbers 1–9 to place your move
  • Play again when prompted

Project Structure

  • src/game.py – main game loop and menu
  • src/utils.py – board display, win checking, and AI logic
  • docs/ – internal documentation

About

tic tac toe game in the terminal :)

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages