Skip to content

Tetris made in vanilla javascript including a mulitplayer version

Notifications You must be signed in to change notification settings

brnhensley/Tetris

 
 

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.

Behavior Input Output
The program will create a game board canvas Height = 800 width = 480 Creates canvas
The program will randomly generate random block shapes Pull random shape out of an array place shape on the game canvas
The program will slowly drop game piece down the canvas player.pos.y++ block shape drops one position
The user and can rotate the block UpArrow key block rotates 90 degrees
The user can move the block left and right Right and Left Arrow key block 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

JS Node JS CSS HTML Firebase Heroku

License

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

About

Tetris made in vanilla javascript including a mulitplayer version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.5%
  • CSS 16.3%
  • HTML 5.2%