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

https://github.com/varuns2002/javascript-tic-tac-toe

This is a fully fledged 2 or 1 player tic-tac-toe game written in JavaScript, HTML and CSS.
https://github.com/varuns2002/javascript-tic-tac-toe

css game html javascript multiplayer single-player tic-tac-toe x-and-o

Last synced: about 1 month ago
JSON representation

This is a fully fledged 2 or 1 player tic-tac-toe game written in JavaScript, HTML and CSS.

Awesome Lists containing this project

README

          

# JavaScript Tic-Tac-Toe

### [Downloads](https://github.com/VarunS2002/JavaScript-Tic-Tac-Toe/releases)

This is a fully fledged 2 or 1 player tic-tac-toe game written in JavaScript, HTML and CSS

## Usage:

-Directly run the program

## Features:

-2 modes namely Player vs Computer and Player vs Player

-Default mode is Player vs Computer

-Toggle to change the mode

-Input X and O alternatively by clicking on the buttons in the grid

-In PvP mode input X and O alternatively by clicking on the buttons in the grid

-In PvC mode user always inputs X and the computer inputs O

-First to start is always X

-Shows you who won or if it's a draw

-Different result messages based on the mode

-Restart Game Option

-Bottom Navbar with version, link for releases and for sources

-Comments to easily understand code