https://github.com/gourabofficial/tic-tac-toe-game
made this game using HTML,CSS and JAVASCRIPT
https://github.com/gourabofficial/tic-tac-toe-game
css game html5 javascript js tic-tac-toe
Last synced: 4 months ago
JSON representation
made this game using HTML,CSS and JAVASCRIPT
- Host: GitHub
- URL: https://github.com/gourabofficial/tic-tac-toe-game
- Owner: gourabofficial
- Created: 2024-08-23T18:50:16.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T20:42:36.000Z (10 months ago)
- Last Synced: 2025-01-12T16:11:17.322Z (5 months ago)
- Topics: css, game, html5, javascript, js, tic-tac-toe
- Language: JavaScript
- Homepage: https://gourabofficial.github.io/Tic-Tac-Toe-Game/
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Tic Tac Toe Game
This is a simple Tic Tac Toe game implemented using HTML, CSS, and JavaScript. Players take turns to mark the cells on a 3x3 grid. The game determines and announces the winner or a draw based on the player's moves.
## Features
- Two players can play the game.
- The game detects and displays the winner.
- Players can reset the game or start a new game.## Files
- `index.html`: Contains the HTML structure of the game.
- `styles.css`: Contains the CSS styles for the game.
- `script.js`: Contains the JavaScript code for game logic and functionality.## Installation
1. Clone the repository:
```bash
git clone
```
2. Navigate to the project directory:
```bash
cd
```
3. Open `index.html` in a web browser to play the game.## Usage
- Click on a cell to place your mark (`O` or `X`).
- The game will automatically switch turns between players.
- Click on "Reset" to reset the current game.
- Click on "New Game" to start a completely new game.## Contributing
Feel free to open issues or submit pull requests if you have any improvements or fixes.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.