Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiakshatjain/tictactoe
This repository contains a web-based Tic Tac Toe game built using HTML, CSS, and JavaScript. It features a responsive design for seamless gameplay across devices and includes interactive features such as player turns, win detection, and a reset option.
https://github.com/hiakshatjain/tictactoe
css html javascript
Last synced: about 1 month ago
JSON representation
This repository contains a web-based Tic Tac Toe game built using HTML, CSS, and JavaScript. It features a responsive design for seamless gameplay across devices and includes interactive features such as player turns, win detection, and a reset option.
- Host: GitHub
- URL: https://github.com/hiakshatjain/tictactoe
- Owner: HiAkshatJain
- Created: 2024-07-15T13:17:41.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T09:08:42.000Z (4 months ago)
- Last Synced: 2024-08-25T10:24:57.469Z (4 months ago)
- Topics: css, html, javascript
- Language: TypeScript
- Homepage: https://tic-tac-toe-phi-silk.vercel.app/
- Size: 2.22 MB
- 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 project is a simple implementation of the classic Tic Tac Toe game using HTML, CSS, and JavaScript. It allows two players to play Tic Tac Toe against each other in a web browser.
## Table of Contents
- [Features](#features)
- [Technologies Used](#technologies-used)
- [How to Use](#how-to-use)
- [Initial Setup](#initial-setup)
- [Win Detection](#win-detection)## Features
- **Two-player Gameplay**: Play against a friend on the same computer.
- **Win Detection**: Automatically detects and announces when a player wins or when the game ends in a draw.
- **Responsive Design**: Works well on desktop and mobile browsers.
## Technologies Used
- **HTML**: Provides the structure and basic layout of the game.
- **CSS**: Styles the game board, buttons, and game status display.
- **JavaScript**: Handles game logic, player turns, win detection, and user interaction.## How to Use
1. Clone the repository: `git clone https://github.com/HiAkshatJain/Tic-Tac-Toe.git`
2. Open `index.html` in your web browser.3. Click on the squares to make your move. Alternate turns with your opponent.
4. The game automatically detects when a player wins or when it's a draw.
## Initial Setup
## Win Detection