Skip to content

alankrit98/TicTacToeGame

Repository files navigation

Tic-Tac-Toe Game

A simple and interactive Tic-Tac-Toe game built for fun and learning.

Features

  • Player vs Player mode
  • Responsive and user-friendly UI
  • Game restart and reset functionality
  • Win, lose, and draw detection with alerts

Tech Stack

  • Frontend: JavaScript, React.js
  • Deployment: Vercel

Installation

  1. Clone the repository:
    git clone https://github.com/alankrit98/TicTacToeGame.git
  2. Navigate to the project directory:
    cd TicTacToegame
  3. Install dependencies (if applicable):
    npm install
  4. Run the application:
    npm run dev

Usage

  1. Open the game in a web browser.
  2. Choose Player vs Player or Player vs AI mode.
  3. Take turns placing X and O on the grid.
  4. The game will detect a win, lose, or draw and show the result.
  5. Click restart to play again.

Contributing

Feel free to submit pull requests or report issues.

License

This project is licensed under the MIT License.

About

TicTacToe Game based on React and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published