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
- Host: GitHub
- URL: https://github.com/prathamx595/prathamx595.github.io
- Owner: PrathamX595
- Created: 2024-02-27T18:33:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-04T16:09:00.000Z (over 1 year ago)
- Last Synced: 2025-03-12T09:44:32.511Z (3 months ago)
- Topics: javascript-game, tick-tack-toe
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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