Skip to content

5u4/tetris-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Description

Tetris is a tile-matching puzzle game. The project is built using WebGL with TypeScript and Webpack.

Build

yarn  # Install all the dependencies, only run in the first time
yarn build  # Convert TypeScript to JavaScript and bundle them to one file

Develop

yarn  # Install dependencies, only run in the first time
yarn watch  # Watch the file changes and compile

Controls

Press Arrow Up for rotating tile shape

Press Arrow Left or Arrow Right to move tile horizontally

Press Arrow Down to accelarate tile downward

Press Space to drop tile immediately

Press r to restart

Press q to quit

About

🕹 Tetris game using WebGL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published