Dee-Coding / Tic-Tac-Toe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command-Line Tic Tac Toe Game

Challenge your strategic skills with the classic game of Tic Tac Toe right in your command-line interface!

Overview

This Python-based Tic Tac Toe game is built entirely in the command line, it lets you play against a friend by taking turns to place your symbol on the game board. The goal? To be the first to achieve a winning pattern of three symbols in a row, column, or diagonal.

Features

  • Player choice: Decide whether you want to play as "X" or "O" and challenge your friend head-to-head.
  • Dynamic board visualization: Enjoy a clear and visual representation of the game board with numbered grid cells.
  • Replayability: After each game, choose whether to play another round and keep the fun going.

How to Play

  1. Clone the repository and navigate to the project directory.
  2. Run the game by executing the Python script in your terminal.
  3. Choose your player symbol ("X" or "O").
  4. Make your moves by entering the desired row and column numbers (1, 2, or 3).
  5. Aim for a winning combination before your opponent does.
  6. After each game, decide if you want to play again and continue the challenge.

Requirements

  • Python 3.x

Get Started

  1. Clone this repository:
git clone https://github.com/your-username/tic-tac-toe.git

About


Languages

Language:Python 100.0%