Skip to content

A simple web-based Tic-Tac-Toe game built using HTML, CSS, and JavaScript. The game allows two players to play in turns, and it also includes a scoreboard to keep track of wins for each player.

Notifications You must be signed in to change notification settings

AnushkadilshanS/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Tic-Tac-Toe-Game A simple web-based Tic-Tac-Toe game built using HTML, CSS, and JavaScript. The game allows two players to play in turns, and it also includes a scoreboard to keep track of wins for each player. Features

  • Playable Tic-Tac-Toe game for two players (Player X and Player O).
  • A scoreboard that tracks the number of wins for each player.
  • Responsive design for all screen sizes.
  • Reset button to restart the game.

How to Play

  1. Open the index.html file in your browser.
  2. Players take turns clicking on the grid to mark their positions.
  3. The game will declare the winner once a player gets three marks in a row, column, or diagonal.
  4. The scoreboard will be updated automatically with the number of wins for each player.
  5. You can reset the game at any time by clicking the Reset Game button.

Used

  • HTML5
  • CSS3
  • JavaScript

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/AnushkadilshanS/Tic-Tac-Toe-Game

About

A simple web-based Tic-Tac-Toe game built using HTML, CSS, and JavaScript. The game allows two players to play in turns, and it also includes a scoreboard to keep track of wins for each player.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published