Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 829 Bytes

File metadata and controls

35 lines (23 loc) · 829 Bytes

Tic-Tac-Toe Game

A simple Tic-Tac-Toe game using Python and Tkinter for the GUI. Play against another player in a classic 3x3 grid.

Features

  • Two-player mode
  • Graphical interface with Tkinter
  • Displays the winner or if the game is a tie

Prerequisites

  • Python 3.x
  • Tkinter (included with standard Python installations)

Installation

  1. Clone the repository:

    git clone https://github.com/Domenez25/Summer-Python-Quests.git
    cd Summer-Python-Quests/tic_tac_toe
  2. Run the game:

    python tictactoe.py

Usage

  1. Start the game: Run the script to open the game window.
  2. Play the game: Click on a spot to make a move. Players take turns, starting with 'X'.
  3. End the game: The game shows a message box for the winner or a tie and then closes.