Skip to content

ahsankhizar5/PRODIGY_WD_03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Web Application

Description

This is a simple Tic-Tac-Toe web application with a dark theme. It allows two players to play the classic game of Tic-Tac-Toe in their web browsers. The game features a modern design with a dark color scheme and interactive elements.

Features

  • Responsive Design: Works well on both desktop and mobile devices.
  • Hover Effects: Smooth transitions and color changes on hover.
  • Restart Button: Easily restart the game with a single click.

Installation

  1. Clone the Repository

    git clone https://github.com/ahsankhizar5/PRODIGY_WD_03.git
  2. Navigate to the Project Directory

    cd PRODIGY_WD_03
  3. Open the Application

    Simply open index.html in your web browser to start playing the game.

Usage

  • Play the Game: Click on the cells to make your move. The game will automatically check for a winner or a draw.
  • Restart the Game: Click the "Restart Game" button to reset the board and start a new game.

Code Overview

  • HTML: index.html – The structure of the game.
  • CSS: styles.css – The styling for the game, including the dark theme and hover effects.
  • JavaScript: script.js – (if applicable) The logic for handling game moves, checking for winners, and managing the game state.

Customization

Feel free to modify the colors and styles in styles.css to fit your preferences. You can also update the game logic in script.js to add more features or change the rules.

Contributing

If you want to contribute to this project, please fork the repository and submit a pull request with your changes. Make sure to include a description of your changes and why they are necessary.

License

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

Feel free to modify this template to fit the specifics of your project. If you have any additional details or sections you’d like to include, let me know!

About

A simple Tic-Tac-Toe game that tracks player turns, checks for win or draw conditions, and allows game reset.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors