Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.15 KB

README.md

File metadata and controls

52 lines (35 loc) · 2.15 KB

Ultimate Tic Tac Toe

Welcome to Ultimate Tic Tac Toe! This is a web-based game built using React JS and Vite, offering a customizable grid size and a delightful gaming experience for players of all ages.

Features

  • Customizable Grid Size: Play on grids ranging from the classic 3x3 to up to 10x10, offering a unique twist on the traditional Tic Tac Toe gameplay.
  • Responsive Design: Enjoy seamless gameplay across various devices, with a fully responsive interface optimized for mobile viewing.
  • New Game Button: Start a new game anytime with a single click. Enter player names for a personalized gaming experience.
  • Undo Button: Made a mistake? No worries! Undo your last move with the handy undo button.
  • Player Name Input: Personalize your gaming experience by entering player names before starting a new game.
  • Rules Button: Need a refresher on the rules? Click the "Rules" button to learn how to play Ultimate Tic Tac Toe.

How to Play

  1. Start a New Game: Click on the "New Game" button to start a new game. Enter the names of the two players when prompted.
  2. Make Your Move: Click on the cell within the grid to place your mark (X or O), taking turns with your opponent.
  3. Winning Condition: Achieve victory by getting three of your marks in a row, column, or diagonal within a single grid, or by winning the overall game by completing three grids in a row, column, or diagonal.
  4. Undo Move: Accidentally placed your mark in the wrong spot? Click the "Undo" button to revert to the previous move.
  5. Learn the Rules: Click the "Rules" button to access the rules of Ultimate Tic Tac Toe and get acquainted with the gameplay.

Installation

  1. Clone the repository:

    git clone https://github.com/hallowshaw/Ultimate-Tic-Tac-Toe.git
  2. Navigate into the project directory:

    cd Ultimate-Tic-Tac-Toe
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm run dev
  5. Open your browser and navigate to http://localhost:3000 to play the game.

License

This project is licensed under the MIT License.