- 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
- Clone the repo
- Run
yarn
to install dependencies - Run
yarn serve
to start the dev server - Navigate to the URL shown to play (most likely
localhost:8080
)
yarn
- install dependenciesyarn serve
- compiles and hot-reloads for developmentyarn deploy
- build for production and deploy to Firebaseyarn build
- compiles and minifies for productionyarn lint
- lint and fix filesyarn test
- run testsyarn test:e2e
- run end-to-end tests with Cypressyarn 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