Skip to content

fr440305/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris (Almost Finished)

The Tetris game written in HTML5, CSS3, and JavaScript.

Play at https://fr440305.github.io/tetris/.

Highlights

  • Written in HTML5/CSS3/JavaScript;
  • Vanilla JavaScript. No third-party libraries;
  • Touch-device-friendly;
  • Drop-down hint.

How to play

For desktop clients:

  • Press A, S, D to control the shifting direction of the current tetrimino;
  • W to hard-drop;
  • J, K to rotate;
  • L to toggle pause.

For mobile clients:

  • Scroll the finger left or right to move the current tetrimino;
  • Tap the playfield to rotate;
  • (The hard-drop feature is not supported at mobile devices);

About

The Tetris game written in HTML5, CSS3, and JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published