Skip to content

Create an HTML Tic Tac Toe Game by using JavaScript. Tic-tac-toe, noughts and crosses, or Xs and Os is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

Notifications You must be signed in to change notification settings

Apurv56kum/Tic-Tac--Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

overview

Tic Tac Toe is a two-player game where each player takes turns marking a square on a 3x3 grid. The objective is to be the first to form a horizontal, vertical, or diagonal line with your own symbol. This repository provides a console-based implementation of the game, allowing you to play against a friend.

Demo link

https://apurv56kum.github.io/Tic-Tac--Toe-Game/

Features

  • Two players can play the game.
  • Players take turns to place their mark (either "X" or "O") on the game board.
  • The first player to get three marks in a row (horizontally, vertically, or diagonally) wins the game.
  • If no player gets three marks in a row and the game board is full, the game ends in a tie.

Screenshots

home page X Win draw

Technology Used

The Tic Tac Toe game was built using the following technologies:

  • HTML
  • CSS
  • JavaScript

Geeting Started

To get started with this project, follow these steps:

Clone the repository: git clone https://github.com/Apurv56kum/Tic-Tac--Toe-Game.git Open the project in your preferred code editor.

Launch the index.html file in a web browser to view the Netflix home page.

Feel free to modify the code and customize the page according to your preferences. You can update the content, change the colors, or add new features.

About

Create an HTML Tic Tac Toe Game by using JavaScript. Tic-tac-toe, noughts and crosses, or Xs and Os is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published