Skip to content

ifaizanahmed9/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-Game

A simple Tic Tac Toe game built with HTML, CSS, and JavaScript.

Table of Contents

  • Introduction
  • Features
  • Technologies Used
  • How to Play
  • Setup and Installation
  • Contributing
  • License

Introduction: This is a basic implementation of the classic Tic Tac Toe game, designed to be played in the browser. It allows two players to play against each other on the same device.

Features

  • Two-player gameplay.
  • Responsive design that works on both desktop and mobile devices.
  • Simple and clean user interface.
  • Displays the current player's turn.
  • Highlights the winning combination.

Technologies Used

  • HTML
  • CSS
  • JavaScript

How to Play

  • Open the game in your browser.
  • Players take turns clicking on the grid to place their symbol (X or O).
  • The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins.
  • If all nine cells are filled and no player has three in a row, the game ends in a draw.

Setup and Installation

  • Clone the repository: bash

  • Copy code

  • Navigate to the project directory: bash

  • Copy code cd tic-tac-toe

  • Open the index.html file in your browser to start the game.

Contributing Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or create a pull request.

License This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published