Write a Tetris game in JavaScript

0 (0 Ratings) 3 Students enrolled

00:51:35 Hours On demand videos

1 Lessons

Full lifetime access

Access on mobile and tv


General understanding of HTML would be good but not necessary

+ View more

In this episode I write a Tetris game in JavaScript from scratch. If you like this tutorial you will probably also like my Super Mario Bros tutorial: https://youtu.be/g-FpDQ8Eqw8 We will look at * Drawing on a canvas * Rotating a matrix * Rudimentary requestAnimationFrame listening * Handling keyboard input Since we are writing ES6 this code might not run on all browsers yet. I was running Chrome 53 when I wrote this and if you wish to follow I recommend you do too. The initial HTML can be found here: https://raw.githubusercontent.com/met... Source code with step-by-step commits: https://github.com/meth-meth-method/t...

What will i learn

  • Learn to make a Tetris game
Course content 00:51:35 Hours 1 lessons
Section 1 - Full course
1 Lessons 00:51:35 Hours
  • Write a Tetris game in JavaScript 00:51:35

About instructor

+ View more
We are the Zversity Team.

Our goal is to help people with a free platform to learn online. Come and learn on Zversity. We do not charge a fee or anything here. This is a free university made for us all. Happy learning!

652 Courses

243 Students

8 Reviews

Student feedback


Average rating

  • 0%
  • 0%
  • 0%
  • 0%
  • 0%