Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rishika105/tic-tac-toe

This is Tic Tac Toe game using HTML, CSS and Javascript.
https://github.com/rishika105/tic-tac-toe

css html javascript

Last synced: 6 days ago
JSON representation

This is Tic Tac Toe game using HTML, CSS and Javascript.

Awesome Lists containing this project

README

        

# Tic Tac Toe Game

A basic Tic Tac Toe game built using HTML, CSS, and JavaScript.

## How to Play
- The game is played between two players: Player X and Player O.
- Players take turns clicking on the boxes to place their mark (X or O) in the grid.
- The first player to align three of their marks horizontally, vertically, or diagonally wins the game.
- If all boxes are filled and no player has aligned three marks, the game ends in a draw.

## Screenshot
![image](https://github.com/user-attachments/assets/17e70c55-04db-4630-8012-67a984476766)

## Features
- Player turns are indicated by the color of the marks: X is red, O is green.
- A message is displayed to announce the winner or if the game ends in a draw.
- Reset and New Game buttons to start over or begin a new game.

## Getting Started
You can play the game [https://tic-tac-toe-rishika-2005.netlify.app/](#) where it has been deployed. If you want to access the code, you can download the `index.html` file and open it in your web browser to start playing.