A tetris game made with p5.js and typescript
Use the arrow keys to move the pieces and 'z' and 'x' to rotate them. The goal is to fill the lines with pieces to make them disappear. The game ends when the pieces reach the top of the screen.
- Clone the repository
- Install the dependencies with
yarn
- Run the project with
yarn dev
- Open your browser and go to the specified adress (usually
localhost:5173
)
- Handle wall kicks
- Add a score system
- Add a mobile version