Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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