Skip to content

Davi-S/tic-tac-toe.py-1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A terminal based Tic Tac Toe game.

Description

Tic Tac Toe is a classic two-player game where each player takes turns placing their symbol (X or O) on a 3x3 grid. The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game. If all of the spaces on the grid are filled and no player has won, the game is a draw.

This version of Tic Tac Toe includes the following features:

  • The ability to play in two languages (defaults to English).
  • A score count that keeps track of the number of wins and draws for each player.
  • The option to play against a second player or against the computer, with four difficulty levels: easy, normal, hard, and impossible.
  • The ability to continue a game after coming back to the menu or start a new one.

Prerequisites

  • Python 3.7 or higher

Installation

  1. Install Python 3.7 or higher. You can download the latest version from the Python website.
  2. Clone or download the repository.

How to Play

To play, simply run the main.py file.

python main.py

Support

If you have any questions or encounter any issues while playing the game, please don't hesitate to open an issue on the GitHub repository.

Releases

No releases published

Packages

No packages published

Languages