Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1012 Bytes

README.md

File metadata and controls

51 lines (37 loc) · 1012 Bytes

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.