Skip to content

Tic Tac Toe Game using JavaScript

Latest
Compare
Choose a tag to compare
@iridescent995 iridescent995 released this 26 Aug 18:15

image

A simple 2 player Tic Tac Toe game using JavaScript.

================================================

How to play:

Welcome to Tic-tac-toe! Player1 plays as O's and Player2 as X's. Select the square you want to put your variable (X or O) into by clicking them. Any square can be occupied once. The first player to get 3 adjacent variables in a row coloumn or diagonal Wins!!.

So watch out others move as well!! AND LET THE GAME BEGIN..