You can learn to program while playing games , something especially practical for the little ones, who can gamify learning and learn the basics of programming while having fun with popular and beloved video games like Minecraft.
This article will focus on precisely this topic, so this knowledge can be applied both to individual learning at home and to educational centers … And remember, computer skills are crucial among the basic competencies that everyone should have, given that we live in an increasingly computerized world.
What is Code.org?
Code.org is an online educational platform that offers programming courses and activities for students of all ages . It offers a variety of courses and activities, from introductory programming to creating games and apps. It also offers resources for teachers and parents, such as lesson plans and study guides. Therefore, it's a really important platform for what I'm here to talk about…
As a non-profit organization that aims to give all students the opportunity to learn computer science and artificial intelligence, you can use it for free. It's also available in several languages , including Spanish, so you have no excuse not to.
It focuses on increasing the participation of women and underrepresented groups. It organizes the annual Hour of Code campaign and is supported by major companies such as Microsoft, Amazon, and Google.
Among its learning and teaching topics, you'll find information ranging from program abstraction to programming algorithms , data structures, encapsulation, resource management, security, web development, and more. And all of this is taught in languages ​​such as C, Python, SQL, JavaScript, HTML and CSS, Rust, Go, and others, as well as offering the option to work graphically with its block-based system.
Code.org has reached over 80 million students and 2 million teachers , and works to improve diversity in computer science, inspire students, prepare new teachers, and change school curricula. It also promotes educational policy and has a global reach with courses available in more than 67 languages.
Although I will focus on Minecraft here , the truth is that this platform also allows you to learn to program in many other ways and with many other games, from popular Disney games like Frozen, to many others, for children between 5 and 11 years old, as well as for those over 10 years old.
Programming while playing Minecraft step by step

Now, to start practicing with Minecraft , you just have to follow these steps:
- Go to the Code.org homepage.
- Click on the New Project button that appears in the upper right area.
- From the drop-down menu, select View all projects…
- From the new window, click the View full list button.
- You will now see all the available projects displayed. In the list, look for Minecraft.
- In this section you can find up to 4 different games with which you can learn.
- For example, if you tap on Minecraft Adventurer, you will access the practice screen.
Playing while learning is very simple. The screen is divided into:
- Box with your Minecraft character.
- Instructions section that will tell you what to do at all times.
- And a block editor where you can program the movements of the Minecraft character to do what is indicated in the instructions. You just have to take the block you want and drag it to place it in the editor.
- Once you have the code, press the Run button and the character will perform the movements you have programmed.
- You can also view the code by clicking on Show Code.
As you progress through the levels, the difficulty will increase , teaching you from scratch to more advanced levels.
I hope it helps…