Skip to content

Welcome to the Tic-Tac-Toe Game! This interactive and classic game is implemented using HTML, CSS, and JavaScript. Challenge a friend and take turns marking the spaces in a 3x3 grid. The first player to get three in a row wins!

License

Notifications You must be signed in to change notification settings

rohityadav-sas/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Welcome to the Tic-Tac-Toe Game! This interactive and classic game is implemented using HTML, CSS, and JavaScript. Challenge a friend and take turns marking the spaces in a 3x3 grid. The first player to get three in a row wins!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published