Game Development with JavaScript: Creating Tetris

Game Development with JavaScript: Creating Tetris

Gain insights into game development with JavaScript. Delve into graphics, game loops, and collision detection by creating Tetris. Showcase your skills with a fully functioning game.

Beginner

27 Lessons

5h 30min

Certificate of Completion

Gain insights into game development with JavaScript. Delve into graphics, game loops, and collision detection by creating Tetris. Showcase your skills with a fully functioning game.

AI-POWERED

Code Feedback
Explanations

AI-POWERED

Code Feedback
Explanations

This course includes

12 Playgrounds
10 Quizzes

This course includes

12 Playgrounds
10 Quizzes

Course Overview

In this course, you will get hands-on game development experience with JavaScript. Using the classic game of Tetris, you are going to cover concepts like graphics, game loops, and collision detection. By the end of this course, we will have a fully functioning game with points and levels. Try it out with your friends and put it in your portfolio for employers to see.

Course Content

1.

Course Overview

Get familiar with creating a Tetris-inspired game and enhancing your JavaScript skills.
2.

Modern JavaScript

Unpack the core of modern JavaScript features including variables, classes, functions, & destructuring.
3.

Getting Started With Tetris

Explore the project structure, board design, and canvas interactions for creating Tetris.
4.

Moving Pieces

Break down the steps to manage Tetrominoes, user interaction, and piece rotation.
5.

Game Logic

Solve problems in game logic for smooth gameplay, collision detection, and randomized tetrominoes.
6.

Gamification

4 Lessons

Follow the process of integrating proxies, scoring, levels, and high scores to enhance Tetris gameplay.
7.

Asynchronous JavaScript

4 Lessons

Master the steps to efficiently handle asynchronous tasks in JavaScript using callbacks, promises, async/await, and server-side high score management.
8.

Final Words

1 Lesson

Learn how to use advanced JavaScript for game development and further exploration.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath