Skip to content

GuillaumeGomez/tetrisJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

tetrisJS

A simple Tetris in JS, easy to integrate anywhere.

Functionalities

For the moment, it implements the following functionalities:

  • Levels
  • Score
  • Highest score saving (local storage)
  • A (very) few CSS events when some actions are done
  • Next tetrimino preview
  • Ghost view
  • Pause mode

#How to play

Here are the controls:

  • Space key: make the tetrimino go all the way down at once.
  • Up key: change tetrimino's rotation.
  • Down key: make the tetrimino go down by one case.
  • Right/left keys: make tetrimino move to the right/left.
  • Escape key: Pause/Resume game.

#Testing it

You want to test it? Great! You can try it here.