Skip to content

This GitHub repository contains a fun and interactive Tic Tac Toe game developed using HTML, CSS, and JavaScript. The game offers a classic two-player experience, where players take turns marking 'X' and 'O' on the 3x3 grid until one of them wins or the game ends in a draw.

Notifications You must be signed in to change notification settings

AbhishekU19/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game

This repository contains a fun and interactive Tic Tac Toe game developed using HTML, CSS, and JavaScript. The game offers a classic two-player experience, where players take turns marking 'X' and 'O' on the 3x3 grid until one of them wins or the game ends in a draw.

How to Play

  1. Clone this repository to your local machine using git clone https://github.com/AbhishekU19/Tic-Tac-Toe.git.
  2. Navigate to the project directory: cd tic-tac-toe.
  3. Open the index.html file in a web browser.
  4. The game will start with Player 1 (X) making the first move.
  5. Players take turns clicking on the empty cells to place their respective marks.
  6. The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins.
  7. If all the cells are filled and no player has won, the game ends in a draw.

Enjoy the classic game of Tic Tac Toe with a friend and have fun competing!

Contributing

Feel free to contribute to the project by suggesting improvements, reporting issues, or adding new features. Fork this repository, make your changes, and submit a pull request. Your contributions are highly appreciated.

Happy gaming!

About

This GitHub repository contains a fun and interactive Tic Tac Toe game developed using HTML, CSS, and JavaScript. The game offers a classic two-player experience, where players take turns marking 'X' and 'O' on the 3x3 grid until one of them wins or the game ends in a draw.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published