Home Description Tetris

Description of the project



This website was created by Josh Meritt who is a senior at SUNY Oswego who is majoring in computer science and minoring in information science. Being a big fan of Tetris, the goal of this project is to create a replication of the original game of Tetris, but with a few changes for ease of the project.

The controls of the game:

{{ name }}: {{ value }}


Process of how the game runs:

  1. A 10 x 20 board is created along with the different types of Tetrominoes (Pieces).
  2. A random piece is then generated to spawn at the top middle of the board and slowly fall.
  3. If the Piece hits a wall or another Piece that has already fallen: That Piece is then locked into place and three scenarios can happen:
  4. Step 3 is repeated until game over.
For a more in concrete explanation, there are comments on the JavaScript code explanining how the code works.


What could be improved



While the game currently runs fine, some improvements could be made to increase the quality of the game such as:

  • {{item.text}}

  • Since I created a working application and was running low on time, I thought to keep what I have and make updates later if desired.
    The code for this project can be found on
    GitHub.