Skip to content

Grid Clash ( Tic-Tae-Toe ) is a timeless two-player strategy game where players take turns marking their symbols in a 3x3 grid. The objective is to be the first to align three of your symbols in a row—horizontally, vertically, or diagonally.

Notifications You must be signed in to change notification settings

Chandan9898Kumar/Grid-Crash

Repository files navigation

GridCrash - Tic-Tac-Toe Game

Description

GridCrash is a simple and engaging Tic-Tac-Toe game built with React. The game allows players to compete against each other or against the computer. The project demonstrates the use of modern React features such as hooks, context, and lazy loading, along with a service worker for offline capabilities.

Features

  • Play against another player or the computer
  • Responsive design for various screen sizes
  • Smooth animations using Framer Motion
  • Offline capabilities with a service worker
  • State management using Redux Toolkit
  • Code splitting and lazy loading for improved performance

Installation

To get started with the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/gridcrash.git
    cd gridcrash
    
  2. Install the dependencies:

npm install
  1. Start the development server:
npm start
  1. Open your browser and navigate to http://localhost:3000 to see the application in action.

Project Structure

gridcrash/
├── public/
│   ├── index.html
│   └── ...
├── src/
│   ├── components/
│   │   ├── MainMenu.js
│   │   ├── Game.js
│   │   └── ...
│   ├── context/
│   │   └── ThemeManager.js
│   ├── App.js
│   ├── App.css
│   ├── App.test.js
│   ├── index.js
│   ├── serviceWorker.js
│   └── ...
├── .babelrc
├── .env
├── .eslintrc.js
├── .gitignore
├── package.json
├── README.md
└── webpack.config.js

Scripts npm start: Starts the development server. npm build: Builds the project for production. npm test: Runs the test suite. npm eject: Ejects the Create React App configuration.

Technologies Used

  1. React
  2. Redux Toolkit
  3. React Router
  4. Framer Motion
  5. Jest and React Testing Library
  6. Webpack
  7. Babel

About

Grid Clash ( Tic-Tae-Toe ) is a timeless two-player strategy game where players take turns marking their symbols in a 3x3 grid. The objective is to be the first to align three of your symbols in a row—horizontally, vertically, or diagonally.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published