这是indexloc提供的服务,不要输入任何密码
Skip to content

calvinywcheng/tetratetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TetraTetris

An HTML5 game loosely based on Tetris, where blocks come from all four sides of the screen

You can try playing the game here: http://tetratetris.paperplane.io/

Objective

The classic game of Tetris is quite one-dimensional; blocks only come from the top and keep falling downwards. Like many things in life, however, it's often nice to add a different perspective.

In this game, blocks will be spawned from all four sides of the screen, and your objective is to fill in rows from all four sides. A square will be cleared when all four sides have been filled at a certain height. The more squares you clear, the higher your score!

Controls

  • Arrow keys to move
  • Z to rotate tetromino clockwise
  • X to rotate tetromino counterclockwise
  • Shift to hold tetromino

Scoring

  • 10 points for each block successfully placed
  • 100 × 2x points for clearing x squares at once

About

An HTML5 game loosely based on Tetris, where blocks come from all four sides of the screen

Resources

License

Stars

Watchers

Forks

Packages

No packages published