Skip to content

pyLover2050/X-O-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

X-O Game

Overview

This is a command-line tic-tac-toe (X-O) game developed in Python using the Rich library. The game allows you to play against a computer opponent.

Screenshot 2023-10-27-20-24-36

Features

  • Play tic-tac-toe against a computer opponent.
  • A user-friendly and colorful CLI interface powered by the Rich library.

Installation

  1. Clone the repository:

    git clone https://github.com/pyLover2050/X-O-game.git
  2. Navigate to the project directory:

    cd X-O-game
  3. Install the required dependencies using pip:

    pip install -r requirements.txt

Usage

Run the game by executing the following command:

python main.py