Skip to content

Repository files navigation

Tetris

By Colton Lacey, Mike Larragueta, Joe Barnes, Brian Hensley

Description

A simple Tetris game that drops block shapes down and board while a user tries to move the shapes around to fit the other shapes on. The player tryies to completely fill whole rows of blocks in order to remove them from the game while avoiding filling the game board all the way to the top.

BehaviorInputOutput
The program will create a game board canvasHeight = 800 weight = 480Creates canvas
The program will randomly generate random block shapesPull random shape out of an arrayplace shape on the game canvas
The program will slowly drop game piece down the canvasplayer.pos.y++block shape drops one position
The user and can rotate the blockUpArrow keyblock rotates 90 degrees
The user can move the block left and rightRight and Left Arrow keyblock moves left and right
the user moves block to fit with other blocks on the board<=, =>, ^blocks moves to fit

Setup/Installation Requirements

  • Visit https://tetris-9455b.firebaseapp.com/ to play a deployed web version of the game, or
  • Clone project from github
  • view code in text editor if necessary
  • any text inside quotations ("") should be performed inside your terminal.
  • install packages with "npm install"
  • "npm run start"

Known Bugs

None Known

Support and contact details

No support offered

Technologies Used

JSNode JSCSSHTML

License

Copyright <2019> <Colton Lacey, Mike Larragueta, Joe Barnes, Brian Hensley>

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages