Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanjay2902/tic-tac-toe-pygame
The Tic Tac Toe Game is a modern implementation of the classic grid-based strategy game using Python's Pygame library.
https://github.com/sanjay2902/tic-tac-toe-pygame
development game-development games github programming pygame python python3 pythongame tic-tac-toe
Last synced: about 1 month ago
JSON representation
The Tic Tac Toe Game is a modern implementation of the classic grid-based strategy game using Python's Pygame library.
- Host: GitHub
- URL: https://github.com/sanjay2902/tic-tac-toe-pygame
- Owner: sanjay2902
- Created: 2024-12-25T13:55:59.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-25T14:12:36.000Z (about 2 months ago)
- Last Synced: 2024-12-25T14:28:23.266Z (about 2 months ago)
- Topics: development, game-development, games, github, programming, pygame, python, python3, pythongame, tic-tac-toe
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe Game 🎮
A modern and interactive Tic Tac Toe game built using **Pygame**, featuring two modes:
- **Human vs Human**
- **Human vs Computer (AI)**## Features
- **Two Game Modes**: Play with a friend or against the computer.
- **Restart and Menu Options**: Restart the game or return to the main menu after each game.
- **Clean Design**: A dark-themed UI with clear animations.---
## Installation and Usage
1. Clone the repository:
```bash
git clone https://github.com/sanjay2902/Tic-Tac-Toe-Pygame.git
cd tic-tac-toe
2.pip install pygame
3.python tic_tac_toe.pyHow to Play
Main Menu: Choose "Human vs Human" or "Human vs Computer."
Gameplay: Players take turns clicking on cells to place their marker. O always goes first.
After Game: Click "Restart" to replay or "Back to Menu" to return to the main menu.Requirements
Python 3.7+
PygameFile Structure
tic-tac-toe/
├── tic_tac_toe.py # Main game script
└── README.md # DocumentationFuture Features
Smarter AI with difficulty levels.
Winning animations.
Sound effects for game actions.