Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.09 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.09 KB

Tic Tac Toe Game

Introduction

This is a simple implementation of the classic Tic Tac Toe game using Python's Tkinter library for the graphical user interface.

Features

Two-player game: Player vs AI. Simple AI opponent. Visual indication of winning combinations. Restart option to play multiple rounds.

How to Play

Run the tictactoe.py file. The game window will appear. Player X starts the game. Click on an empty cell to place X. The AI (Player O) will make its move automatically after Player X. The game continues until either player wins or there is a draw. After the game ends, you can restart the game by clicking the "restart" button.

Files

tictactoe.py: Contains the Python code for the Tic Tac Toe game. This file, providing instructions and information about the game.\

Requirements

Python 3.x Tkinter library (usually comes pre-installed with Python)

Usage

To play the game, simply run the tictactoe.py file. The game window will open, and you can start playing immediately.

Contributors

[22k-4005 Mujtaba Saqib BAI-4A] [22k-4115 Hilal Aziz BAI-4A] [22k-8721 Attaullah Ansar BAI-4A]