Tetris
Tetris, you know what it is. 8.29.16
By Ryan Apking, Josh Casuccio, Nhat Hoang, Garrett Price
Description
Recreation of the basic Tetris game.
Project can be viewed on GitHub Pages
Specifications
-
Build basic board/ draw with canvas.
- initially building text based. Then map over with canvas. 20 rows / 10 columns
-
animate 1 small component of pieces
-
ability to shift part left to right
-
ability to rotate parts
-
construct basic tetris shapes
- All parts made of 4 small squares. 2 L shapes, Cube, T shape, 2 Z shapes, Line
-
Randomize falling shapes
-
remove line once 10 columns in any row are filled. This will not exceed 4 based on shape sizes
-
add alert to signal end of game. This will happen if enough lines are not cleared, and shapes reach top of game board
-
add start button for player interactivity
-
build basic html layout. Hold game board, display lines cleared and preview next piece, start and reset buttons.
-
build shapes with color using canvas
- all shapes have independent colors and black borders
-
merge design and construction branches to master for MVP
Instructions
Basic rules for play:
- Left & right arrow keys for vertical movement
- "A" key for counter clockwise rotation, "S" key or Up arrow for clockwise rotation
- _Holding Down, Left or Right arrows will accelerate piece movement in said direction _
- Score 100 points for every line cleared. In the case of scoring a Tetris (4 lines cleared at once) score 800 points. If 2 Tetris cleared consecutively, score 1200 points.
- Pieces accelerate descent speed every 10 lines cleared.
{Leave nothing to chance! You want it to be easy for potential users, employers and collaborators to run your app. Do I need to run a server? How should I set up my databases? Is there other code this app depends on?}
Known Bugs
No known bugs
Support and contact details
Contact Ryan Apking on github
Technologies Used
Jquery and Bootstrap
License
The Tetris Company, LLC Copyright (c) 2016
Ryan Apking, Josh Casuccio, Nhat Hoang, Garrett Price