Conclusion

Here are some final words and suggestions of where to continue after this course.

We'll cover the following

In this course, you have learned about the basics of game development using JavaScript and the Canvas element. I hope you have enjoyed this course. I find it easier to learn new things if I am having some fun while practicing the theory as I learn.

Where to go from here?

Where you go from here depends on what your goals are. If you want to master JavaScript, then you should take a more advanced course with topics you have not yet learned.

Now that you have a good understanding of the frontend, you can take a look at backend technologies like Node and databases. Having knowledge of these technologies will allow you to take your development to the next level.

If you want to do more game development, you should try creating another game like:

  • Breakout
  • Snake
  • Pong
  • Pacman
  • Mine sweeper

You can also expand on the game we just built with functions like:

  • Ghost piece - The ghost piece indicates where the tetromino will land if it were dropped. It greatly reduces the number of mis drops.

  • Hold piece - The player can press a button to send the falling tetrimino to the hold box, and any tetrimino that had been in the hold box moves to the top of the screen and begins falling.

  • Multiplayer - Let two players play at the same time either on the same computer or even through networks. You can add features like adding a block for the opponent when you clear lines.

I have a GitHub repo where you can see all the code from this course. However, it’s constantly evolving, so there might be a few extra functions by the time you read this. Feel free to fork the repository and experiment. Send me a pull request with your improvements to the game.

Wherever you decide to go from here, I wish you a fun journey!

Get hands-on with 1000+ tech skills courses.