Skip to content

ZAINKHAN25/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

A simple Tic Tac Toe game built using HTML, CSS, and JavaScript.

Table of Contents

Introduction

Welcome to the Tic Tac Toe Game! This project is a web-based implementation of the classic Tic Tac Toe game. It features a two-page structure, with the first page displaying the game board and the second page serving as a welcome screen. The second page allows you to start or restart the game.

Features

  • Interactive Tic Tac Toe game.
  • Responsive design for various screen sizes.
  • Two-page structure: Game page and Welcome page.
  • Easy restart of the game from the Welcome page.
  • Visually appealing styling.

How to Play

  1. Open the game in your web browser. Click the "Start The Game" button on the Welcome page.

Welcome

  1. On the game board, take turns clicking on empty cells to place your "X" or "O."

Main

  1. The game will indicate whose turn it is and display the winner or a draw when the game ends. To restart the game, click the "Restart The Game" button on the Welcome page.

Result

Installation

There is no specific installation required for this game. Simply open the HTML file in a web browser to play.

Usage

  1. Clone the repository to your local machine:
git clone https://github.com/ZAINKHAN25/Tic-Tac-Toe-Game/.git
  1. Navigate to the project directory:
cd tic-tac-toe-game
  1. Open the index.html file in your preferred web browser.

  2. Enjoy playing the Tic Tac Toe game!

License

This project is licensed under the MIT License.