Learn To Code By Playing Games

Learn To Code By Playing Games Post Image.png

Learning to code is daunting for many people. But my philosophy is that everything can be easy and fun to learn if taught properly, and what better way to learn than by playing games?

In this article, I’ll be sharing with you different ways you can learn to code while having fun and even making it an activity to share with others.

Hour of Code by Code.org

Code.org Home

Code.org is a super cool initiative that aims to get everyone coding.

It’s aimed mainly towards education, but anyone can benefit from it.

You learn the basics of programming logic by solving fun puzzles using a block-based language.

In other words, you simply drag and drop puzzle blocks to form a game little by little.

By learning this way, you’ll get used to the different “blocks” that most programming languages have so you can then move on to write your own code.

Personally, when learning how to code, learning the different “blocks” was easy, but applying the right logic was the complicated part for me.

I think Code.org really shines at teaching you the logic behind how the different “blocks” fit together at an easy to follow pacing and, best of all, while playing games and having fun!

Microsoft Makecode

Makecode Home

Makecode is a super cool platform that includes code editors and tutorials for various platforms, including the popular game Minecraft.

Since Makecode supports a couple different platforms, let’s discuss two of the most popular: micro:bit and Minecraft.

Makecode for Minecraft

If you own a Windows 10 version of Minecraft, I highly suggest you check Makecode for Minecraft.

Basically, Makecode for Minecraft allows you to build your own simple mods (short for modifications) using a block-based language that is very beginner friendly.

By following along with their online tutorial projects, you’ll learn the basics of programming that will then make it a lot easier to transition into written programming languages.

Makecode for micro:bit

If coding physical things sounds better than running code on a computer, than I highly recommend you check the micro:bit platform.

Meet the BBC micro:bit

You can build a plethora of different electronics projects with a micro:bit, and yes, games too!

So, since you are here today to learn to code with games, let’s jump into how you can do such a thing with the micro:bit platform.

Head hover to makecode.microbit.org where you’ll find a whole section of tutorial projects dedicated to building your own games for the micro:bit.

Microbit Makecode Games

Now, the really cool advantage of building games with a micro:bit is that you can bring them into the physical world and interact with them in ways that are much more engaging than simply using a screen and a keyboard and mouse, in my opinion.

I personally recommend the micro:bit for people who want to learn how to code not only because it’s a lot of fun, but also because it’s the easiest platform that I found so far that allows you to very easily move from block-based programming languages into written ones.

Alrighty, I hope you enjoy learning how to code with this cool resources and make sure to comment bellow if you know of any other resources to learn how to code by playing and making games 👇.