https://github.com/bishal7448/tic-tac-toe
# TIC-TAC-TOE Welcome to the Tic Tac Toe game repository! This project provides a classic implementation of the beloved two-player game, Tic Tac Toe, created using HTML, CSS, JavaScript.
https://github.com/bishal7448/tic-tac-toe
Last synced: 6 months ago
JSON representation
# TIC-TAC-TOE Welcome to the Tic Tac Toe game repository! This project provides a classic implementation of the beloved two-player game, Tic Tac Toe, created using HTML, CSS, JavaScript.
- Host: GitHub
- URL: https://github.com/bishal7448/tic-tac-toe
- Owner: bishal7448
- Created: 2024-06-09T07:04:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-10T09:29:31.000Z (about 1 year ago)
- Last Synced: 2024-08-10T10:37:06.729Z (about 1 year ago)
- Language: CSS
- Size: 9.77 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 game repository! This project provides a classic implementation of the beloved two-player game, Tic Tac Toe, created using HTML, CSS, JavaScript.
Welcome to the Tic Tac Toe game repository! This project is a classic implementation of the popular two-player game, Tic Tac Toe, built using HTML, CSS, JS.
Features-
Two-Player Mode: Play against another person locally.
Simple UI: Clean and intuitive interface.
Game State Tracking: Automatically updates and displays the current state of the game.
Win Detection: Automatically detects win conditions and declares the winner.
Draw Detection: Identifies when the game is a draw.
Reset Option: Allows restarting the game without refreshing the page.
How to Play-
Player 1: Takes the first turn and marks a cell with 'X'.
Player 2: Takes the next turn and marks a cell with 'O'.
Players alternate turns until one player wins by aligning three of their marks horizontally, vertically, or diagonally, or the game ends in a draw if all cells are filled without a winner.