Code Monkey home page Code Monkey logo

tic_tac_toe_in_python_gui's Introduction

Tic Tac Toe Game

This is a simple implementation of the classic Tic Tac Toe game using Python and the customtkinter library.

Installation

  1. Clone the Repository:

    git clone https://github.com/akashpd390/Tic_Tac_Toe_in_Python_gui.git
    cd Tic_Tac_Toe_in_Python_gui
    
  2. Install Dependencies: Make sure you have Python installed on your system. Install the required libraries using the following command:

    bashCopy code

    pip install customtkinter

Usage

Run the following command to start the Tic Tac Toe game:

bashCopy code

python tic_tac_toe.py

How to Play

  1. The game board is a 3x3 grid.
  2. Players take turns to place their symbol (X or O) in an empty cell.
  3. The game continues until one player wins by forming a horizontal, vertical, or diagonal line, or the board is full, resulting in a draw.

Features

  • Responsive GUI with customizable layout.
  • Winner announcement in a separate pop-up window.
  • Reset button to restart the game.

Contributing

If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/my-feature.
  3. Commit your changes: git commit -am 'Add new feature'.
  4. Push to the branch: git push origin feature/my-feature.
  5. Submit a pull request.

Disclaimer

This Tic Tac Toe game is a simple project for educational purposes. Feel free to use and modify the code according to your needs.

Happy gaming!

tic_tac_toe_in_python_gui's People

Contributors

akashpd390 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.