An open API service indexing awesome lists of open source software.

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

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.