Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.27 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.27 KB

Tic-Tac-Toe Game

Tic-Tac-Toe game built using HTML, CSS, and JavaScript. Play against a friend and see who can achieve three in a row first!

Table of Contents

Preview

preview.png

Features

  • Interactive and responsive design
  • Score counter to keep track of wins for X and 0
  • Vibrant and engaging user interface
  • Restart button to begin a new game

How to Play

  1. Open the [Tic-Tac-Toe] game in your web browser.
  2. The game starts with X's turn.
  3. Hover over a cell to see the current player's symbol.
  4. Click on an empty cell to make a move.
  5. The game alternates between X and 0.
  6. The first player to get three in a row (horizontally, vertically, or diagonally) wins.
  7. Click the "Restart" button to start a new game.

Installation

  1. Clone the repository:

    git clone https://github.com/rohityadav-sas/Tic-Tac-Toe
    
  2. Open index.html in your browser

License

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

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.