10 games to learn JavaScript
Tags: javascript, webdev, beginners
Published: 2022-12-02 06:06:18

We looked at [10 amazing games to learn CSS](https://daily-dev-tips.com/posts/10-amazing-games-to-learn-css/). And in this article, we'll do the same for JavaScript.

Learning a language by playing games is super fun, and for some people, it's a great way to understand the impact of the language visually.

Without further ado, here are ten fantastic games where you can learn JavaScript.

## 1. CodinGame

![CodinGame to learn JavaScript](https://cdn.hashnode.com/res/hashnode/image/upload/v1669180583597/1D_NywE8W.png)

CodinGame is a multi-language platform where you can learn several languages, including JavaScript, by playing games.

The cool thing about it is that you can use it as a multiplayer game, which is excellent as you can compete against your friends or coworkers.

[Play CodinGame](https://www.codingame.com/ide/puzzle/onboarding)

## 2. CodeCombat

![CodeCombat to learn JavaScript](https://cdn.hashnode.com/res/hashnode/image/upload/v1669180891032/OPOCUVmSM.png)

CodeCombat is an RPG (role-playing game) set up that teaches you web fundamentals and more.
It's extensive in the number of challenges and supports five languages, including JavaScript.

It offers a free option for all core levels and can upgrade to unlock more.

[Play Code Combat](https://codecombat.com/play/level/dungeons-of-kithgard?)

## 3. Untrusted

![Untrusted to learn JavaScript](https://cdn.hashnode.com/res/hashnode/image/upload/v1669181105367/mEnfeBOA0.png)

This is a fantastic concept of a console-like environment turned into an escape room.
You'll need to type JavaScript code to exit each level. It's easy to start, and they provide some hints.

[Play Untrusted](https://alexnisnevich.github.io/untrusted/)

## 4. Codewars

![Codewars JavaScript game](https://cdn.hashnode.com/res/hashnode/image/upload/v1669181416059/mshCexo8U.png)

Codewars is a cool concept where you have to solve puzzles by filling out the blanks.
It's cool to discuss and see other people's solutions.
This makes it the perfect place to learn and grow your skills.

[Play Codewars](https://www.codewars.com/dashboard)

## 5. JSRobot

![JSRobot to learn JavaScript](https://cdn.hashnode.com/res/hashnode/image/upload/v1669181700097/ANwMAnMU5.png)

JSRobot is a super cool game setup with a lot of background information.
You have to type JavaScript to control the robot and clear the level. I enjoyed how well this game is executed.

[Play JSRobot](https://lab.reaal.me/jsrobot/#level=1&language=en)

## 6. JSDares

![JSDares JavaScript games](https://cdn.hashnode.com/res/hashnode/image/upload/v1669181942194/FgsC6Zo8M.png)

JSDares is a super cool open-source game platform, so you get community-provided dares you have to solve.

They are small, so you can quickly do some in between or before starting your day.

Worth checking out this fantastic game platform to learn JavaScript.

[Play JSDares](https://jsdares.com/)

## 7. Screeps

![Screeps to learn JavaScript](https://cdn.hashnode.com/res/hashnode/image/upload/v1669182404647/2kevLRBHA.png)

Screeps is a sandboxed game where you can control a colony by providing JavaScript code.
It's quite a cool concept, as you learn quite a few different aspects of JavaScript.

The cool part is that it's massive and has infinite levels to play.

[Try out Screeps](https://screeps.com/a/#!/sim/tutorial/1)

## 8. Crunchzilla

![Crunchzilla learn by playing games](https://cdn.hashnode.com/res/hashnode/image/upload/v1669182635041/KvPpkah2d.png)

Crunchzilla is an excellent way for visual learners among us. It provides multiple levels of complexity where you can learn step by step.

I'd highly suggest this game to anyone wanting to visually understand the impact of specific code.

[Check out Crunchzilla](https://www.crunchzilla.com/code-maven)

## 9. Elevator Saga

![Elevator saga JavaScript learning](https://cdn.hashnode.com/res/hashnode/image/upload/v1669182844012/hF13igJGy.png)

Another excellent game is the elevator saga, where you learn how to transport people in a lift by writing JavaScript code.

It has many levels and exceptional documentation and solutions described in detail.
You can keep improving this great challenge to make it more efficient.

[Try out Elevator saga](https://play.elevatorsaga.com/)

## 10. CheckIO

![CheckIO JavaScript game](https://cdn.hashnode.com/res/hashnode/image/upload/v1669183173116/Yi7hnNf-0.png)

CheckIO is an excellent text-based game with some fantastic graphics for the level indicators.

It has a cool feature where you can see all solutions, moving from the most efficient to the most creative.

This helps you to learn about the solution and what you could do to optimize it.

[Try out CheckIO](https://js.checkio.org/)

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)