Skip to content

PrathamX595/PrathamX595.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Welcome to the Tic Tac Toe Mini-Project repository! This project is to implement and understand the basics of JavaScript.

Features

  • Simple and intuitive user interface
  • Tracks and displays the current player's turn
  • Detects wins, losses, and draws automatically
  • Reset the game at any time to start over

How To Play

  • Game starts with turn of "X".
  • Click on any empty cell on the game board to place your symbol.
  • Alternate turns with your opponent until one player achieves three symbols in a row (horizontally, vertically, or diagonally) or until all cells are filled.
  • If a winning condition is met, the game will display a message indicating the winner.
  • If all cells are filled and no winning condition is met, the game will end in a draw.
  • To start a new game, click the "Reset" button to clear the board and begin a new round.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

About

A mini project to practice Js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published