Skip to content
JavaScript Tetris in the browser.
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
bg.png
favicon.ico
index.html
landing.aiff
landing.wav
main.css
success.wav
tetris.js
tetris.mp3

README.md

Tetris - Vanilla JavaScript Tetris.

Description

This project was inspired by a previous JavaScript tutorial I found on YouTube. I went a head and added background music, SFX and a nice background image to set the theme.

Tech Stack

  • HTML 5
  • CSS
  • Canvas
  • Vanilla JavaScript
  • Google web fonts

What I Learned

This was a great exercise to drill my ES6+ familiarity and play around with Canvas. The real challenge is creating each shape with a Matrix.

Feedback or suggestions?

Reach out to me on Twitter, I'd love to hear from you :)

You can’t perform that action at this time.