Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bhushanmv007/tic-tac-toe-2.0

The normal Tic Tac Toe game has now become quite boring hence to make it more interesting I've added a new rule which will automatically discard the first move of each player when they are in their 4th move
https://github.com/bhushanmv007/tic-tac-toe-2.0

tic-tac-toe

Last synced: 18 days ago
JSON representation

The normal Tic Tac Toe game has now become quite boring hence to make it more interesting I've added a new rule which will automatically discard the first move of each player when they are in their 4th move

Awesome Lists containing this project

README

        

# Tic Tac Toe 2.0 ๐ŸŽฎ
## Overview
This is a modern take on the classic Tic Tac Toe game, built using Python and Tkinter. The game introduces an intriguing twist: starting from the 4th move, each player's earliest moves are discarded in sequential order, adding an extra layer of strategy and unpredictability. This feature ensures that as the game progresses, players must adapt their strategies to account for the loss of their previous moves. This project is perfect for those looking to explore Python GUI development and game logic implementation.

## Key Features
* **Classic Tic Tac Toe Gameplay:** Simple and intuitive 3x3 grid where two players, X and O, take turns..
* **Twist:** On every 4th turn of each player, the player's first move is automatically removed, requiring them to rethink their strategy.
* **Interactive UI:** Built using Tkinter, offering a clean and responsive user interface.
* **Easy Reset:** The game automatically resets after a win or draw, allowing for continuous play.
* **Fully Commented Code:** The code is well-documented, making it easy to understand and modify.

## How to Play:
* The game starts with Player X.
* Players take turns by clicking on the buttons in the grid to place their symbol (X or O).
* From the 4th move onward, the playerโ€™s earliest move is discarded every 4 turns, creating new strategic challenges.
* The game ends when one player achieves three symbols in a row (horizontally, vertically, or diagonally).

## Requirements:
* Python 3.x
* Tkinter

## Running the Game:

1. **Clone this repository**
``` bash
git clone https://github.com/Bhushanmv007/Tic-Tac-Toe-2.0.git
```
2. **Navigate to the project directory:**
``` bash
cd Tic-Tac-Toe-2.0
```
3. **Run the game:**
```bash
python tictactoe.py
```