Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 590 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 590 Bytes

A simple implementation of Tetris

Play Tetris

Code is inspired by:

This is a simple implementation of Tetris written with HTML5 canvas. It is mostly just practicing implementing velocity + framerate, drawing very simple objects (rectangles), transforming matrices to rotate pieces, and simple collision detection. The user controls are driven by the keyboard (pressing the keys faster moves the piece faster).