https://github.com/piyush0663/tic-tac-toe
"A simple command-line Tic Tac Toe game in Python. Play against another player in this classic game with intuitive input and clear game state display."
https://github.com/piyush0663/tic-tac-toe
game-development gamedev python3 tictactoe-python
Last synced: 4 months ago
JSON representation
"A simple command-line Tic Tac Toe game in Python. Play against another player in this classic game with intuitive input and clear game state display."
- Host: GitHub
- URL: https://github.com/piyush0663/tic-tac-toe
- Owner: piyush0663
- Created: 2024-07-25T19:52:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T05:06:42.000Z (11 months ago)
- Last Synced: 2025-01-11T17:16:06.634Z (6 months ago)
- Topics: game-development, gamedev, python3, tictactoe-python
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe Game
This is a simple implementation of the classic Tic Tac Toe game written in Python.
## Introduction
Tic Tac Toe is a two-player game where each player takes turns marking a space in a 3x3 grid with their respective symbol (X or O). The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
## Features
- Command-line interface
- Two-player mode
- Input validation
- Game state display## Requirements
- Python 3.x
## Installation
1. Clone the repository:
```sh
git clone https://github.com/your-username/tic-tac-toe.git
```
2. Navigate to the project directory:
```sh
cd tic-tac-toe
```## Usage
Run the game by executing the following command:
```sh
python tic_tac_toe.py