Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.13 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.13 KB

Tic-Tac-Toe

Here is a Tic-Tac-Toe game created using HTML CSS and JavaScript. This game allows for the participation of two players by making draws on the 3x3 grid. Get the access to the game through:https://tictactoe-ayeshasiddiqua.netlify.app/

How the game works

It is a game of 2 players in which both players make their entries or marks (X and O) alternatively .By default the first player is to take the mark X while the other eventually takes O. The entry is to be made in a 3x3 grid or matrix until it reaches a goal. The goal of the player in Tic-Tac-Toe game is to get the same three marks in a row - horizontally, vertically or diagonally in a 3x3 grid. The first player to successfully acheive this goal will win the game.The game can be reset again after a round with the reset button provided.


The game also media queries to make it responsive to the device screen. To make it more appealing I added sound effects to it. Whenever the player clicks on any of the squares or when a player wins a game the sounds are played.

This game was created by Ayesha Siddiqua. Feel free to use the code and customize it on your needs.