pmba / p5-tetris

Simple tetris game made with P5.js and Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Work in Progress) Tetris

A tetris game made with p5.js and typescript

How to play

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.

How to run

  1. Clone the repository
  2. Install the dependencies with yarn
  3. Run the project with yarn dev
  4. Open your browser and go to the specified adress (usually localhost:5173)

TODO

  • Handle wall kicks
  • Add a score system
  • Add a mobile version

About

Simple tetris game made with P5.js and Typescript


Languages

Language:TypeScript 93.9%Language:HTML 4.6%Language:SCSS 1.5%