This project was bootstrapped with Create React App.
This project was based on a youtube tutorial: https://www.youtube.com/watch?v=ZGOaCxX8HIU&t=3057s&ab_channel=freeCodeCamp.org I made some updates on top of it like using typescript, adding linters, tests, etc.
Icon used for the app: Shapes icons created by Smashicons - Flaticon
This project is hosted in firebase, and you can enjoy a live version by clicking here.
Use the directional keys from your keyboard to pay the game.
Command | Action |
---|---|
⬆️ | rotate the tetromino |
⬅️ | move the tetromino to the left |
➡️ | move the teromino to the right |
⬇️ | move the tetromino down |
- Clone this repo.
- Install dependencies (yarn install).
- run: yarn start
For starting development server:
yarn start
For running all the tests:
yarn test
For building the app (before deployment):
yarn build
For deploying a new version of the application proceed as follow:
- Navigate to the scripts folder.
- Make sure to have installed firebase-cli.
- execute in the terminal the
deploy.sh
script.