Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 818 Bytes

File metadata and controls

35 lines (18 loc) · 818 Bytes

JavaScript Tic-Tac-Toe

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