Skip to content

Iranildot/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

This is a simple Tic-Tac-Toe game implemented in Python with Tkinter. The game allows two players to compete against each other or against a basic AI on a 3x3 board.

Features

  • Game Modes:

    • Player vs Player Two human players compete against each other.
    • Player vs Computer: A human player plays against a basic AI.
    • Computer vs Player: The AI plays against a human player.
  • Game difficulty

    • Easy
    • Medium
    • Hard
  • Player symbols

    • X vs O
    • or O vs X
  • History

  • Scoreboard

    • To track the players scores
  • Themes

    • Light and dark themes for the interface
  • Reset

    • To reset game mode, game difficulty, player symbols and themes to the default. This will clear all the history too.

    settings

How to Play

  1. Clone the Repository:

    git clone https://github.com/Iranildot/tictactoe/edit/master/tictactoe
    
  2. Install Dependencies:

    Make sure you have Python 3.x and Tkinter installed.

  3. Run the Game:

    cd tictactoe
    python tictactoe.py
    
  4. Choose Game Mode:

    Select the game type from the dropdown menu. Configure difficulty and symbol preferences in the settings menu.

  5. Play the Game:

    Click on empty spaces on the board to make moves. Track the scoreboard and move history during gameplay.

How the game looks like

the game

Themes

Dark:

dark theme

Light:

light theme

History

The history shows to the user the follwing past games data:

  • which player won the game (player or computer) or show tie in case no player wins the game
  • the symbol that the winner was using
  • the game mode
  • the spent time of that game
  • and the game difficulty

history

About

GUI tic-tac-toe game made using python and using customtkinter library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages