Skip to content

Tic-Tac-Toe Game Using Pure HTML, CSS & JavaScript

Notifications You must be signed in to change notification settings

byomkesh03/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Tic-Tac-Toe Game Using Pure HTML, CSS & JavaScript

Tic Tac Toe Game

This is a simple Tic Tac Toe game created using pure HTML, CSS, and JavaScript.

Demo

You can play the game online here.

Features

  • Classic Tic Tac Toe gameplay.
  • Interactive user interface.
  • Fully Responsive, You Can Play It on Your Favorite Device.
  • Support for two players.
  • Real-time validation of moves.
  • Automatic detection of game outcomes (win, draw).
  • Restart option to play again.
  • Reset The Game After Game Play

Screenshots

Screenshot

Installation

  1. Clone the repository: git clone : https://github.com/byomkesh03/Tic-Tac-Toe.git

  2. Open the project folder.

  3. Run the index.html file in your preferred web browser.

Usage

  • Click on any empty cell to make your move.
  • The game alternates between the two players (Player 1 and Player 2).
  • The first player to get three marks in a row (horizontally, vertically, or diagonally) wins.
  • If no player achieves a winning combination and there are no empty cells left, the game is a draw.
  • Click the "Restart" button to start a new game.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

Acknowledgments

  • This game was inspired by the classic Tic Tac Toe game.

Contact

If you have any questions, suggestions, or feedback, feel free to contact me at [email protected]

About

Tic-Tac-Toe Game Using Pure HTML, CSS & JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published