Skip to content

The classic Tic-Tac-Toe βŒβ­• Game in Python Using the Turtle Graphics Module. 🐒

Notifications You must be signed in to change notification settings

adnuhan/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tic-Tac-Toe

Overview

This Project is a simple yet engaging implementation of the classic game Tic Tac Toe using Python and the Turtle module for an interactive and visually appealing experience.

It features a graphical user interface where two players can play against each other, taking turns to mark Xs and Os on the board.

Screenshoot

Screenshot

Features

  • Play against a friend.
  • Challenge the AI opponent.
  • Game logic for player turns.
  • Option to start a new game after a match is finished.
  • Standard Tic-Tac-Toe rules with win, lose, and draw detection.
  • Basic error handling for invalid moves and game over conditions.
  • Colorful and interactive graphical user interface with mouse controls.

Requirements

  • Python 3.x
  • Turtle module (included in the standard library)

Installation

To play the Tic Tac Toe game, Download the ZIP file and extract it or Clone the repository to your local machine using the following command:

git clone https://github.com/NahundaBekele/Tic-Tac-Toe.git

Gameplay

  • The game follows the standard Tic Tac Toe rules. Two players take turns marking the board with "X" and "O".
  • The first player to achieve a horizontal, vertical, or diagonal line of three marks wins. If the board fills up without a winner, it's a draw.

Contributing

If you find any bugs or have suggestions for improvements that would make this better, please create an issue or submit a pull request.

Acknowledgments

  • Thanks to the Python and Turtle communities for their great documentation and support
  • Thanks to Stack Overflow for answering every question i have

Author

Nahunda Bekele

Contact

About

The classic Tic-Tac-Toe βŒβ­• Game in Python Using the Turtle Graphics Module. 🐒

Topics

Resources

Stars

Watchers

Forks

Languages