A lot of beginners can become intimidated when they're learning how to code. But learning through coding games can be fun and educational.

According to True Education Partnerships,

Gamification in learning involves using game-based elements such as point scoring, peer competition, team work, and score tables to drive engagement, help students assimilate new information and test their knowledge.

I have curated a list of 12 coding games for beginners.

Here is the complete list. Once you find a website that interests you, click that link and it will jump you down to a more detailed description of that website.

  1. CodinGame
  2. CSS Diner
  3. Flexbox Froggy
  4. Flexbox Defense
  5. Grid Garden
  6. CodeCombat
  7. Scratch
  8. Tynker
  9. SQL Murder Mystery
  10. Untrusted
  11. Elevator Saga
  12. CheckiO

CodinGame

Screen-Shot-2021-08-02-at-3.19.31-AM

CodinGame is a site that helps you work on problem solving skills and learn programming basics through a turn-based game.

This platform supports over 25 different programming languages and gives players the opportunity to practice, learn, and compete in coding contests.

Screen-Shot-2021-08-02-at-10.44.38-PM

Once you create an account, you can get started with the beginner level onboarding section. You will be introduced to standard programming concepts and solve mini challenges.

Screen-Shot-2021-08-02-at-10.44.10-PM

CSS Diner

Screen-Shot-2021-08-02-at-3.43.56-AM

In CSS Diner, you can practice the basics of CSS through a series of 32 challenges. This is a good way to get more familiar with the language and have fun learning it.

The first few challenges are short and focus on working with classes and ids. But as you progress through the levels, you will be introduced to Pseudo-selectors, First of Type Selector, Last of Type Selector, and the Universal Selector.

Screen-Shot-2021-08-02-at-10.55.36-PM

Flexbox Froggy

Screen-Shot-2021-08-02-at-4.05.43-AM

In Flexbox Froggy, you will learn CSS Flexbox by placing the frogs on the correct lillypads. By the time you finish level 24, you should feel comfortable using Flexbox in your next project.

Each challenge provides a description on the Flexbox properties. The first few challenges start off easy but as you progress in the game things get more complicated.

Screen-Shot-2021-08-02-at-11.17.03-PM

Flexbox Defense

Screen-Shot-2021-08-02-at-4.26.01-AM

Flexbox Defense is a tower defense game that helps you strengthen your CSS skills. Position the towers to keep out your enemies using CSS Flexbox.

The challenges will provide you with definitions of the Flexbox properties. Once you write your code, press the Start Wave button and see if you were successful in stopping your enemies.

Screen-Shot-2021-08-02-at-11.22.57-PM

Grid Garden

Screen-Shot-2021-08-02-at-4.17.37-AM

Learn CSS Grid by going through 28 levels of Grid Garden. Some familiarity with CSS Grid is encouraged but not required for getting started with the game.  

Each challenge provides a description on the CSS Grid properties. The first few challenges start off easy but as you progress in the game things get more complicated.

Screen-Shot-2021-08-02-at-11.27.18-PM

CodeCombat

Screen-Shot-2021-08-02-at-1.56.36-AM

CodeCombat works well for both kids and adult learners. You can create a free account and learn the fundamentals of programming like loops, functions, conditionals, and  variables.

You can choose which programming language to start with and work your way through the games.

Screen-Shot-2021-08-02-at-2.03.07-AM

You also have the option to upgrade to the premium account if you are interested in having access to more levels.

Screen-Shot-2021-08-02-at-2.05.35-AM

Scratch

Screen-Shot-2021-08-02-at-2.16.25-AM

MIT's Scratch is a block based programming language where you can learn about events, conditionals, variables, and more by building your own games and animations.

Choose from dozens of sprites, sounds and backgrounds to code your own creations and start understanding programming basics.

Screen-Shot-2021-08-02-at-2.28.37-AM

Scratch is also used during the first week of Harvard's CS50: Introduction to Computer Science course.

Tynker

Screen-Shot-2021-08-02-at-2.43.52-AM

Tynker is a site where you can build projects and play games using HTML, CSS, JavaScript, Python, and Java. They have an extensive list of projects, algorithms and data structure challenges.

Screen-Shot-2021-08-02-at-2.56.25-AM

You can build these projects in the online editor and share your creations within the community. This site is aimed at kids between the ages of 5-18.

Screen-Shot-2021-08-02-at-10.23.31-PM

SQL Murder Mystery

Screen-Shot-2021-08-02-at-8.52.08-PM

SQL Murder Mystery is great for both beginners and experienced SQL developers. Strengthen your SQL and problem solving skills by trying to track down the killer in this murder mystery.

The game uses SQLite and you will first have to get acquainted with the database structure before starting the game.

Screen-Shot-2021-08-02-at-10.17.01-PM

If you are new to SQL, there is a detailed walk through for beginners. Otherwise, if you are an experienced SQL user then you can dive straight into the game.

Untrusted

Screen-Shot-2021-08-02-at-9.16.13-PM

Untrusted is an adventure game where you can test your JavaScript and problem solving skills. Help guide Dr. Eval through a series of levels by solving JavaScript challenges.

If you are brand new to JavaScript then this game might be a little advanced for you. But if you have spent some time programming in JavaScript then the challenges will be doable.

Elevator Saga

Screen-Shot-2021-08-02-at-9.20.11-PM

Elevator Saga is a JavaScript game where you will go through a series of challenges trying to transport people in elevators in the most efficient way possible within the time given.

Once you modify the code, you can test the efficiency of your solution by clicking the start button in the top right hand corner. When the program is running, you can check the stats to see if you passed the challenge or not.

Screen-Shot-2021-08-02-at-10.08.06-PM

CheckiO

Screen-Shot-2021-08-02-at-9.30.59-PM

CheckiO is a strategy game where you can learn TypeScript or Python through a series of challenges. Once you create a free account, you will start off with the beginner challenges and work your way through to the advanced ones.

Screen-Shot-2021-08-02-at-9.48.46-PM

The game will give you access to hints and other players' solutions if you need help. You will solve each of the challenges in the online editor and move onto the next mission when the task is solved.

Screen-Shot-2021-08-02-at-9.58.49-PM