Skip to content

PRIYAtechky/Tic-Tac-Toe-Web-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe 🎲

Project Overview

This Tic Tac Toe web application allows users to play the classic game either with a friend or against an AI. The game features a responsive design, interactive gameplay, and a clean user interface.

Features

  1. Game Modes: Choose between playing with a friend or against an AI.
  2. Responsive Design: The game board adapts to different screen sizes for a seamless experience.
  3. Interactive Gameplay: Clickable game boxes that update with each player's move and highlight the winning combination.
  4. Restart Functionality: Restart the game at any time with a dedicated button.
  5. Stylish UI: Uses custom fonts and colors to enhance the visual appeal.

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/PRIYAtechky/Tic-Tac-Toe-Web-application
    cd tic-tac-toe
  2. Open index.html in your preferred browser:
    • Double-click the index.html file in the project folder.

How to Use

  1. Start the game:

    • Open the index.html file in your web browser.
  2. Gameplay instructions:

    • Choose your preferred mode: Play with Friend or Play with AI.
    • Players take turns clicking on the grid cells to mark them with X or O.
    • The game automatically detects winners or declares a draw when the board is full.
  3. Reset the game:

    • Use the Reset button to clear the board and start a new game.

Technologies Used

  • HTML: For structuring the web page.
  • CSS: For styling and layout.
  • JavaScript: For game logic and interactivity.

🔗Visit the Project

Project Structure

tic-tac-toe/ │ ├── index.html ├── style.css └── game_logic.js

⭐ Give a Star!

If you like this project, feel free to ⭐ the repo.
Your support motivates me to build more projects!

About

A fun and interactive web-based Tic Tac Toe game to play with a friend or against an AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published