Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 868 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 868 Bytes

Tic Tac Toe Game

Welcome to the Tic Tac Toe game repository! This project is part of Hacktoberfest 2024 and aims to provide a simple yet engaging implementation of the classic game.

Features

  • Classic 3x3 grid layout
  • Two-player mode
  • User-friendly interface

Getting Started

Installation

  1. Clone the repository:
    git clone https://github.com/proheroabhi/hacktoberfest-24-1.git
    cd hacktoberfest-24-1
    

How to Play The game is played on a 3x3 grid. Player 1 is 'X' and Player 2 is 'O'. Players take turns marking a square.

The first player to get 3 of their marks in a row (up, down, across, or diagonally) wins.

If all 9 squares are filled and no player has 3 marks in a row, the game ends in a draw.

Contributing Contributions are welcome! Feel free to open an issue or submit a pull request with your improvements and fixes.