https://github.com/rajatm544/javascript-tetris
A game of Tetris with the seven original tetrimino shapes, built using vanilla JavaScript.
https://github.com/rajatm544/javascript-tetris
css game html javascript tetris vanilla-javascript
Last synced: 8 months ago
JSON representation
A game of Tetris with the seven original tetrimino shapes, built using vanilla JavaScript.
- Host: GitHub
- URL: https://github.com/rajatm544/javascript-tetris
- Owner: Rajatm544
- Created: 2020-07-01T05:50:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T06:47:08.000Z (about 5 years ago)
- Last Synced: 2025-01-07T05:44:43.269Z (9 months ago)
- Topics: css, game, html, javascript, tetris, vanilla-javascript
- Language: JavaScript
- Homepage: https://rajat-tetris.netlify.app/
- Size: 120 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TETRIS

- This is built using vanilla JavaScript, HTML, and CSS.
- It includes the 7 original tetrimino shapes, and works with a keydown event being fired to move/rotate the piece.
- The game starts by moving a piece down by a square every 750ms, and you get 10 points for every row you complete filling.
- The game's level goes up for every 100 points scored, after which the speed with which the piece moves down increases, therby increasing the difficulty of the game.