SPDUK / brickbreaker

canvas brickbreaker game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BrickBreaker


Intro

A react based brickbreaker game using canvas.

Stack

  • Create React App
  • React Router
  • React Context API
  • CSS Modules (scss)
  • Code splitting (React.lazy & Suspense)
  • Jest
  • react-testing-library
  • ESLint - AirBnB Styleguide
  • Husky - v4
  • StyleLint

Dev Setup


Deployment

  • Netlify
  • Husky (pre-commit linting and error messages)

Production setup (local)

  • run yarn build to build the React app
  • run build-storybook to build the Storybook app

Scripts

  • yarn start - Start the React development server
  • yarn storybook - Start the Storybook development server
  • yarn lint - Lint .js & .jsx files
  • yarn lint:fix - Fix problems in .js & .jsx files
  • yarn stylelint - Lint .css files
  • yarn stylelint:fix - Fix problems in .scss files

About

canvas brickbreaker game


Languages

Language:JavaScript 81.7%Language:HTML 13.9%Language:SCSS 4.3%