Skip to content

PhilVargas/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

TypeScript tetris using React + RxJs Bootstrapped from create-react-app

http://philvargas.github.io/tetris/

PAV Tetris

Features

  • Score and Level tracking
  • Piece Navigation, dropping, and rotation
  • Start, Pause, Restart game
  • Audio toggle
  • Ghost Piece toggle
  • Hold Piece toggle
  • Next Piece display
  • Colorblind-friendly Mode

Controls

  • Move left with A, down with S, and right with D
  • Drop a piece as far down as possible with W
  • Rotate a piece with Q and E
  • Space to pause a game in progress
  • Enter to hold the current piece. Only one piece can be held each turn.

Installation

yarn install
yarn start

Versions

  • React v16.12.0
  • TypeScript v3.7.2
  • yarn v1.22.10
  • node v10.15.3
  • create-react-app v3.3.0