Learning to code can be challenging for everyone, but a growth mindset and having fun are the keys to building habits of perseverance and curiosity. So help your child make and learn what they want to! Often times that's games - games as diverse as a Super Mario game to a mini-golf game to a Roblox game.

Today I'll reveal some of the best coding games for kids to learn programming. These games teach different coding concepts, while empowering kids to feel proud of their creations. Furthermore, many of them are free, so they're a great way to start tinkering and exploring a potential new passion.

I've included game platforms that teach valuable coding skills and concepts in a fun, engaging way. These games also have age-appropriate content, as well as strong safety features. These are features that are very important to me as an instructor at a computer science company. While none of these apps will teach your child to code, each of them provide a playground for experimenting with coding, learning logic, and building fun projects.

For each of these platforms, I have downloaded them myself, and taught some of them to kids for many years. They will work best if you download and set them up, and then share them with your child. Start by trying to do a tutorial provided by the platform, and see if your child wants to take over as you get into it. Then, let them experiment, but be on duty to answer questions and provide support and ideas.

Games are a great complementary resource to supplement live online coding classes, where kids can get immediate feedback and support from expert instructors. Rather than getting frustrated and giving up, kids will enjoy learning from a structured curriculum with instant feedback. Join an award-winning beginner-friendly Scratch coding class with a curriculum designed by professionals from Google, Stanford, and MIT.

Where to Begin: Explore the Best Educational Coding Games for Kids

Discover some of the best coding games for kids to build their programming skills, curated by computer science education experts from Stanford and MIT. These games introduce programming fundamentals such as logic, sequencing, loops, and conditionals, often through visual and interactive methods - and many even provide opportunities to learn advanced coding. These coding games are also designed specifically for certain age groups (between ages 5-18), with simple instructions and challenges that match the child's cognitive abilities. And finally, some of these games include strong safety features, such as moderated interactions, privacy controls, and safe chat options to protect children.

1. Scratch

Online coding game for kids, ages 8-16

Scratch

I recommend all children begin with Scratch, because it provides such a solid foundation. Scratch is an amazing coding platform designed specifically for kids, offering an intuitive, block-based coding interface that makes learning to program fun and engaging. Developed by the MIT Media Lab, Scratch empowers kids to create their own interactive stories, games, and animations without needing to write complex code. Instead, they can drag and drop colorful coding blocks that fit together like puzzle pieces, making it easy to see how their programs work.

In Scratch, kids can bring their ideas to life by designing characters, creating backgrounds, and adding sounds. The platform's simplicity encourages creativity and experimentation, helping young coders develop a strong foundation in programming concepts such as loops, conditionals, and variables. Plus, Scratch offers a variety of tutorials and projects to get kids started, making it accessible even for complete beginners.

Scratch tutorials

One of Scratch's standout features is its vibrant online community. Kids can share their projects, get feedback, and collaborate with others from around the world.

Using the Scratch platform helps children develop critical thinking, problem-solving, and logical reasoning skills. It also boosts their confidence as they see their creations come to life and receive positive reinforcement from their peers. With Scratch, kids are not just learning to code; they are learning to think creatively and work collaboratively.

Pros: Intuitive block-based coding, Tons of creative freedom, Strong online community, Excellent for beginners

Cons: Limited to simpler projects, No curriculum to follow, Advanced features may require transitioning to text-based coding

Cost: Scratch is completely free to use.

Safety features: Community guidelines, auto and human content moderation, reporting system, privacy controls, and parental controls.

Get started: Go to the Scratch website and create a free account. Click on Create to start coding. Follow these Scratch exercises for beginners. Then, check out tutorials under Explore, such as animating a name and making a chase game. More advanced coders might enjoy making the best Scratch games. For live guidance and support, learn from an expert instructor in an award-winning Scratch Ninja class, designed by professionals from Google, MIT, and Stanford.

2. ScratchJr

Introductory coding app for young children, ages 5-7

ScratchJr app

If your child is younger than 8, there's ScratchJr. ScratchJr is a fantastic introductory coding app specifically designed for younger children, in kindergarten through second grade. Created by Tufts University, PBS Kids, and the same brilliant minds at MIT Media Lab who developed Scratch, ScratchJr simplifies coding even further, making it accessible and fun for early learners. This playful platform uses an intuitive, icon-based interface that allows children to create their own interactive stories, games, and animations.

In ScratchJr, kids can move characters, create backgrounds, and add sounds using easy drag-and-drop coding blocks. Each block represents a simple command, like move, jump, or speak, which helps children understand the basics of sequencing and logic without needing to read. The platform encourages kids to experiment and explore, fostering their creativity and problem-solving skills from a young age.

ScratchJr is more than just a coding tool; it's an educational resource that helps develop foundational skills in math, language, and literacy. By designing their own projects, kids learn to think critically and work collaboratively, setting a strong foundation for future learning. The app includes a variety of project ideas in the Sample Projects Library to help kids and their parents get started.

ScratchJr projects

Using ScratchJr, children can learn important concepts such as sequencing, pattern recognition, and cause and effect, all while having fun. It's a fun way to introduce young children to the world of coding and computational thinking.

Pros: Simple, icon-based coding, Encourages creativity and exploration, Develops foundational coding skills, Perfect for early learners

Cons: Limited to very basic projects, No online community for sharing projects

Cost: ScratchJr is completely free to use.

Cost: Free

Safety features: No online sharing capabilities, child-friendly interface, no in-app purchases or ads, offline use, and educational content designed for young children.

Get started: Download the ScratchJr app from the App Store or Google Play Store. Open the app and create a new project by tapping the plus icon. Use the intuitive drag-and-drop interface to start creating your own interactive stories and games. Explore the in-app tutorials and project ideas to help your child begin their coding journey. For additional guidance and structured learning, join our online Scratch Junior class, led live by an expert.

3. Minecraft Education Edition

Educational game for coding and STEM learning, ages 6-18

Minecraft Education Edition

For students with some previous coding experience or who absolutely adore playing Minecraft, Minecraft is the next best game to continue building their skills. Minecraft allows kids to explore their creativity and problem solve as they use blocks to build objects and interact with other characters; they can also use it to learn to write code. A staple in many families’ homes, Minecraft combines creativity and education in powerful ways. The game involves building practically anything using blocks and creating your own world with them. It’s all 3D, and really cool. Go on adventures, build a city, make friends — you decide what you want to do in this game.

Playing Minecraft can also develop children’s ability to grasp spatial awareness. This spatial thinking aspect is an important part of brain development and can lead to a more confident understanding of subjects such as math, science, and engineering.

Playing the game itself is a lot of fun, but the game is even more interesting because you can mod (modify) it using code. The mod allows players to change certain aspects of how the game was originally written and build their own games with it. There are also many mods your child can download from the internet.

In Minecraft: Education Edition, your child can write code to control different aspects of the game and complete tasks. Education Edition even lets children explore other subjects like chemistry using the Minecraft world! Check out the library of subject kits.

Minecraft subject kits

Pros: Tons to explore and create, Price is great, Exposure to more advanced programming concepts, All sorts of subjects to explore

Cons: Can be challenging for young students to know how to start, no set curriculum or support

Cost: Minecraft Education Edition is free.

Safety features: Education-specific environment, classroom controls for teachers, safe and controlled multiplayer interactions, secure login with school accounts, and privacy policies compliant with educational standards.

Get started: Visit the Minecraft Education Edition website and sign up for an account. Download and install the game on your computer or tablet. Log in with your account and start exploring the various educational resources available. Begin with My First Lesson. Then, help your child learn how to mod in Minecraft with live online classes led by an expert: begin in an award-winning Minecraft Modding Quest class. Your child can also learn how to incorporate more advanced blocks such as Redstone, pistons, and observer blocks to build holiday lights, automatic doors, and even flying machines inside Minecraft.

4. Roblox Studio

Game development platform for creative coding, ages 10+

Roblox Studio

For kids that have conquered Minecraft or love playing Roblox, Roblox Studio is the next coding game I'd recommend. Roblox Studio allows kids to dive into the world of game development and unleash their creativity by building and developing their own games and environments. In Roblox Studio, teens can create a world using pre-loaded options or customize their own with code. The platform provides a comprehensive suite of tools that lets kids design, script, and test their own games in Roblox, all within an engaging and user-friendly interface.

In Roblox Studio, kids can start by choosing elements from the toolbox, such as characters, environments, and objects. They can then customize these elements and add interactivity through scripting, using either block-based coding or the Lua programming language. This hands-on approach not only makes learning to code fun, but also helps develop critical problem-solving skills and logical thinking.

One of the standout features of Roblox Studio is its collaborative environment. Kids can share their creations, and even play games (ones of the most popular types of games kids love to create with this platform is obbys or obstacle courses) made by others.

Playing and creating in Roblox Studio helps children grasp fundamental coding concepts and design thinking. Moreover, it provides an introduction to more advanced programming and game development principles, making it a great stepping stone for future endeavors in STEM fields.

Roblox community

Pros: Extensive tools for creativity, Engaging and collaborative environment, Exposure to real-world programming languages, Encourages problem-solving and logical thinking

Cons: Can be complex for very young children, Requires learning Lua scripting for advanced features

Cost: Roblox Studio is free to use.

Safety features: Community guidelines, content moderation, reporting system, account restrictions, and privacy settings.

Get started: Go to the Roblox Studio website and download Roblox Studio for free. Install the software and log in with your Roblox account. Click on "Create New" to start a new project. Use the built-in tutorials and templates to learn the basics of game design and scripting with Lua. For more advanced learning and community support, explore Roblox's educational resources and developer forums. Consider joining a free virtual Roblox coding class for kids for live expert guidance.

5. Unity

Professional game development platform for advanced coding, ages 12+

Unity

Does your child love playing Angry Birds? Did you know it was built using Unity? Unity is an incredibly powerful and versatile game development platform that enables kids to create stunning 2D and 3D games. It's a favorite among aspiring game developers due to its robust features and user-friendly interface. With Unity, teens can bring their wildest game ideas to life, learning valuable skills along the way.

Unity's intuitive drag-and-drop interface, combined with its powerful scripting capabilities using C#, allows kids to design and develop games with ease. They can start with simple projects and gradually move on to more complex ones, learning coding, physics, and animation principles as they go. The platform also offers complete documentation and a knowledge base, making it accessible even for beginners.

One of the key advantages of Unity is its ability to create games for multiple platforms, including PC, mobile, and consoles. This means that kids can share their creations with a wider audience and see their games played on various devices. The community support and being able to see others' games further enhance the learning experience, providing guidance and inspiration for new projects.

Using Unity helps kids develop important skills such as problem-solving, logical thinking, and creativity. It also gives them a taste of professional game development, preparing them for potential future careers in the gaming industry. Even though Unreal Engine by Epic Games is growing in popularity, Unity remains popular.

Pros: Comprehensive toolset for game development, Supports both 2D and 3D projects, Teaches C# programming, Extensive online tutorials and resources

Cons: Can be complex for very young children, Requires a higher learning curve for advanced features

Cost: Unity is free for personal use, with additional features available through subscription plans.

Safety features: Age-appropriate content guidelines, secure login and user authentication, developer-focused community with professional standards, reporting and support system, and extensive online safety resources.

Get started: Visit the Unity website and download the Unity Hub. Create a free Unity account and install the Unity Editor through the Hub. Open Unity and start a new project using one of the provided templates. Follow the step-by-step tutorials available in the Unity Learn section to get acquainted with the interface and basic game development concepts. For more comprehensive learning, explore Unity's online courses such as Create with Code, pathways, and certifications, and join a live online coding with Unity game development class for guided instruction and feedback from an expert.

Here are some additional free coding games to help your child get started.

Get Started with Fun Coding Games for Kids

I believe these are the best coding games for kids because they not only make learning to code fun and engaging, but also build essential skills for the future. Scratch and ScratchJr provide an excellent foundation for younger children, introducing them to coding concepts through interactive and creative play. Minecraft Education Edition combines the beloved game with educational content, making subjects like math and science come alive. Roblox Studio and Unity offer more advanced coding environments, allowing older kids to dive into game development and learn professional programming languages. It's important stay actively involved to help your kids navigate these platforms effectively.

At Create & Learn, our students use these platforms because they cater to a wide range of ages and skill levels, ensuring that every child can find a game that matches their interests and abilities. These tools help our students develop critical thinking, problem-solving, and creativity while having fun and collaborating with peers. By integrating these coding games into our curriculum, we provide a comprehensive and enjoyable learning experience that prepares kids for the future in STEM fields.

Up next, your student might also enjoy learning how to start coding games. Explore how to create a pong game in Scratch and other easy games to code.

Empower your student to learn coding in a supportive environment. Sign your child up for a small-group, online game building class designed by professionals from Google, Stanford, and MIT, and led live by an expert.

Written by Sophie Andrews, a Create & Learn instructor. Sophie Andrews is a student at Stanford University studying Math andComputational Sciences. She loves teaching and is a teaching assistant for Stanford's introductory computer science classes. Her work focuses on data science. Last year she built the online National Vote Trackers for The Cook Political Report, and she currently leads the Data Team at The Stanford Daily. She's also interned with the FCC and the National Renewable Energy Lab.