Coder Social home page Coder Social logo

arrow-game's Introduction

Project Arrow Game

Welcome to the Arrow Game project! This README provides an overview of the stack, features, and setup of the project.

link to the Game: https://smolskaia.github.io/Arrow-game/

Tech Stack

The project is built using the following technologies:

  • React + TypeScript: For building the user interface with type safety.
  • Redux + Redux Toolkit: For state management.
  • Material-UI: For UI components and styling.
  • ESLint + Prettier + Husky: For code linting, formatting, and enforcing standards in commits.
  • Vite: For fast build and development.
  • Vitest: For testing.
  • GitHub Pages: For deployment.

Features Implemented

Here’s a breakdown of what has been implemented in the project:

  1. Project Setup:

    • Initialized the project with a robust configuration to streamline development.
  2. Redux Toolkit Template:

    • Set up the initial project structure using a template from Redux Toolkit.
  3. Code Quality Tools:

    • Configured ESLint for code linting to ensure consistent code quality.
    • Configured Prettier for code formatting.
    • Integrated Prettier with VSCode for auto-formatting on save.
  4. Git Hooks:

    • Configured Husky to run pre-commit hooks for linting and formatting checks.
  5. State Management:

    • Developed business logic using Redux Toolkit.
    • Created reducers to manage application state effectively.
  6. Component Decomposition:

    • Organized the project by decomposing the UI into reusable components.
  7. Material-UI Integration:

    • Incorporated Material-UI for building a modern, responsive UI.
    • Created a UI-Kit with reusable components to standardize the look and feel.
  8. Component Styling:

    • Styled the components using Material-UI’s system and custom CSS.
  9. Additional Enhancements:

    • Added a favicon to personalize the application.
  10. Testing:

    • Wrote and executed unit tests using Vitest to ensure application reliability.
  11. Deployment:

    • Deployed the application on GitHub Pages for easy access and sharing.

Getting Started

Follow these steps to get the project up and running on your local machine:

  1. Clone the repository:

    git clone https://github.com/Smolskaia/arrow-game.git
    
  2. Navigate to the project directory:
    cd arrow-game

  3. Install dependencies:
    npm install

  4. Run the development server:
    npm run dev

  5. Open the application in your browser:
    Visit http://localhost:5173 to see the Arrow Game in action.

Running Tests

To run the tests, use the following command:
npm run test

This will execute all tests defined in the project using Vitest.

Deployment

The application is deployed on GitHub Pages. To update the deployment, use the following steps:

  1. Build the application: npm run build

  2. Deploy to GitHub Pages: npm run deploy

arrow-game's People

Contributors

smolskaia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.