Skip to content

priyakinha/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-Game

Overview

This is a simple Tic-Tac-Toe game implemented using HTML, CSS, and JavaScript. The game allows two players to take turns marking the spaces in a 3x3 grid with their respective symbols (X and O). The game detects the winner and provides an option to start a new game or reset the current game.

Features

  • Two-player gameplay
  • Winner detection
  • Option to start a new game
  • Reset game functionality

Installation

  1. Clone the repository or download the files.
  2. Open index.html in a web browser to play the game.

Usage

  • Click on the boxes to place your mark (X or O).
  • The game will announce the winner when a player has three marks in a row, column, or diagonal.
  • Click the "New Game" button to start a new game after a winner is declared.
  • Use the "Reset Game" button to clear the current game and start fresh.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

Contributing

Contributions are welcome! If you have suggestions for improvements or features, feel free to open an issue or submit a pull request.

License

This project is open-source and available under the MIT License.

Acknowledgments

  • Inspired by classic Tic-Tac-Toe gameplay.
  • Thanks to the web development community for resources and tutorials.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published