Our Features

The game was written in Python and includes a graphical user interface (GUI), also supports remote gameplay over a network using socket-based architecture.

Classic Tic-Tac-Toe

Game for two players, called "X" and "O"

Two Players Compete

Player take turns marking the spaces in a 3×3

Memorize the game state

Count the number of wins and losses for each player

Socket Data Transfer

The application program can send and receive data

UI Optimization

Focuses on the elements that use to navigate and glean information

Tic Tac Toe Game

Running the Game

Tic Tac Toe is a classic two-player game that challenges you to place your symbol in a 3x3 grid to achieve three in a row, either horizontally, vertically, or diagonally. This implementation of the game was written in Python and includes a graphical user interface (GUI) for easy gameplay. The game also supports remote gameplay over a network using socket-based architecture.


To run the game, follow these steps:

  1. Clone or download this repository to your local machine.
  2. Open the command prompt or terminal and navigate to the project directory.
    Navigate to the project directory
  3. To start Player 1, run the following command:
  4. python player1.py
  5. Player 1 will start and prompt you to enter the IP address and port number of Player 2.
    Navigate to the project directory
  6. To start Player 2, run the following command:
  7. python player2.py
  8. Player 2 will display their IP address and port number on the console.
    Navigate to the project directory
  9. Once Player 1 has entered the required information, both players will be prompted to enter their names.
    Navigate to the project directory
  10. The game will start and you can begin playing against your opponent.
    Navigate to the project directory