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

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."

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