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

https://github.com/prathamx595/prathamx595.github.io

A mini project to practice Js
https://github.com/prathamx595/prathamx595.github.io

javascript-game tick-tack-toe

Last synced: 2 months ago
JSON representation

A mini project to practice Js

Awesome Lists containing this project

README

        

# Tic-Tac-Toe

Welcome to the Tic Tac Toe Mini-Project repository! This project is to implement and understand the basics of JavaScript.

## Features

- Simple and intuitive user interface
- Tracks and displays the current player's turn
- Detects wins, losses, and draws automatically
- Reset the game at any time to start over

## How To Play

- Game starts with turn of "X".
- Click on any empty cell on the game board to place your symbol.
- Alternate turns with your opponent until one player achieves three symbols in a row (horizontally, vertically, or diagonally) or until all cells are filled.
- If a winning condition is met, the game will display a message indicating the winner.
- If all cells are filled and no winning condition is met, the game will end in a draw.
- To start a new game, click the "Reset" button to clear the board and begin a new round.

## Technologies Used

- HTML5
- CSS3
- JavaScript