Skip to content

joshgrib/vuetris

Repository files navigation

vuetris

Play it now

TODO

  • Set up game board
  • Set up firebase hosting & publishing
  • Get blocks to drop to down the screen and stop when they hit something
  • Add controls to move blocks
  • Detect when the game is lost
  • Add other block types
  • Add controls to rotate blocks
  • Detect full rows and remove them
  • Shift blocks down when a row is removed
  • Track score
  • Fix block rotation bugs
  • Fix collision bugs
  • Improve styling

Note: this similar game has a cool style

Quickstart

  1. Clone the repo
  2. Run yarn to install dependencies
  3. Run yarn serve to start the dev server
  4. Navigate to the URL shown to play (most likely localhost:8080)

Commands

  • yarn - install dependencies
  • yarn serve - compiles and hot-reloads for development
  • yarn deploy - build for production and deploy to Firebase
  • yarn build - compiles and minifies for production
  • yarn lint - lint and fix files
  • yarn test - run tests
  • yarn test:e2e - run end-to-end tests with Cypress
  • yarn test:unit - run unit tests with Jest

If you look in the package.json scripts you will see that there commands mostly run with the Vue CLI, the configuration reference has information and additional functionality