Skip to content

🧩 Recreation of Tetris, a tile-matching game using vanilla JS and Bulma.

Notifications You must be signed in to change notification settings

xsharonhe/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link to try: https://xsharonhe.github.io/tetris/

Note: please do not try it on your mobile devices, I did not design it to be so.

Image of Tetris game

Brief Description

This game is a recreation of the well-known Tetris game. The aim is to clear the row and accumulate as much points as possible.

Instructions

Press the up key to rotate. The other arrow keys are for movement. The rest of the rules are pretty similar to the original game. There are four speeds, although the "You are scary" speed is basically unplayable.

Inspiration

I have been playing "Tricky Towers" as of late with my brother, and I was inspired to build my first JavaScript game based on a similar game. Overall, I thought it was challenging enough for me to clear the lines and detect the blocks.

Other additional comments:

  • There are still some slight bugs in the program for block detection, but for the most part it works well. If anyone has any ideas on how to fix it, please let me know!
  • Looking back I wish I took more of an OOP approach or used Canvas API because it took a lot longer to code than I thought it would.
  • Overall, pretty happy with the result after ten hours. Challenged me a lot in terms of using arrays and creating the game board from divs.

About

🧩 Recreation of Tetris, a tile-matching game using vanilla JS and Bulma.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published