Skip to content

A text-based version of the Tic Tac Toe game built with Python.

License

Notifications You must be signed in to change notification settings

alexkanavos/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

A text-based version of the Tic Tac Toe game built with Python.

Screenshot

Table of Contents

Introduction

This is a simple text-based implementation of the classic Tic Tac Toe game using Python. The game allows two players to play against each other on the command line interface.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/alexkanavos/tic-tac-toe.git
  2. Navigate to the project directory:

    cd tic-tac-toe
  3. Install the required dependencies using pip:

    pip install -r requirements.txt

Usage

To start the game, run the following command:

python3 main.py

Follow the on-screen instructions to play the game. Players will take turns inputting their moves by specifying the row and column of their desired move. The game will display the current state of the board after each move and will declare the winner when appropriate.

Contributing

Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License.

About

A text-based version of the Tic Tac Toe game built with Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages