Skip to content
fr440305Public

About

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

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

91 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages