DEV Community

Cover image for 🎮 Learn JavaScript while playing games👾

🎮 Learn JavaScript while playing games👾

Are you a beginner in JavaScript or want to improve your coding skills in a cool, fun, and interactive way?🤔

Say no more! I got you covered!

I went to look for games where you and I both can do that!

Next, I'm going to share with you the ones that I played and enjoyed, I hope that you like them too!!

👾1. Code Wars⚔️ 💻

Code Wars

Codewars provides an avenue for novice and experienced programmers to practice their craft and learn new coding languages in a fun and collaborative environment! The community here is very strong! Check also their Twitter and what people say about it! It's also a good option if you are planning to do a "100 days of code" kind of challenge.

2. JS Robot👾

JSRobot code game

JSRobot is a platform where you can control a robot to collect coins, avoid obstacles and reach the flag at the end of the level. It's a fun way if you are getting started with Javascript, since it's not too complex. There are four tabs bellow the screen and the most intersting one maybe would be the first tab since it gives you helpful hints to master the level and thus the basics of Javascript.

3. Jamstack Attack🏭

Jamstack Attack

Jamstack Attack is a collection of mini-games in which each one is designed to help you practice Frontend Development! It does not only have JavaScript but also CSS games, or even a "how much fast do you type" game. Actually, if you click on "Show me other games" you will find also challenges suggested by the author

4. Grasshopper🦗

Grasshoper app

Grasshopper is a free coding app for beginners, where you can easily learn and understand coding without any previous experience. You can complete lessons, quizzes and visual puzzles to build your coding skills. It focuses on blocks of real JavaScript code (with the real syntax, punctuation, etc.) to solve clearly designed and interesting challenges

5. Warrior JS🗡️ ⚔️ 🔪

Warrior JS

In WarriorJS, you will be a warrior climbing a tall tower to reach The JavaScript Sword at the top level. Legend says that the sword bearer becomes enlightened in the JavaScript language, but be warned: the journey will not be easy. On each floor, you need to write JavaScript to instruct the warrior to battle enemies, rescue captives, and reach the stairs alive...

6. Code Combat🤺⚔🛡

Code Combat

With Code Combat you can learn typed code through a programming game. You can learn Python, JavaScript, and HTML as you solve puzzles and learn to make your own coding games and websites. The graphics for this game are awesome and addictive. It's recommended for younger ages, but it's so cool that you will want to play it at any age!

If you liked my post, please consider to Buy me a coffee ❤️
I will be truly happy to continue posting with your support

Buy Me a Coffee at

Have you tried one of the listed challenges already?😊 Do you have more suggestions?

Tell me all about it in the comments 👇

Top comments (14)

jarvisscript profile image
Chris Jarvis

Good list, I've played a couple of these. Hadn't seen the rest. I wrote similar post with some others games. Please check it out. Play games to improve your developer skills.

monicafidalgo profile image
The Coding Mermaid 🧜‍♀️

Thanks Chris! Yes I will :)

andrewbaisden profile image
Andrew Baisden

So many fun ways to learn.

picwellwisher12pk profile image
Amir Hameed

Thanks 👍🙏

monicafidalgo profile image
The Coding Mermaid 🧜‍♀️


lisa_v_dot profile image
Lisa V. Heinecke

Good list! Another one I would recommend is Bitburner (stable / dev / steam) - it's an incremental game where you play as a hacker and write your own automation from scratch in JavaScript. I'm currently trying to implement one of the more advanced algorithms they go suggest in the docs, though I think I may need to learn a bit more about how async works in JS haha.

fricasecland profile image

However, it is not required for what you are saying to be true. Players are encouraged to remain on the institution's website and enhance their cooperative activity by offering the greatest casino bonuses and online casino incentives. A large rewards program, such as the best online casino, welcome bonus, or online casino Canada no deposit bonus, that emphasizes the club's financial stability and the management's commitment to its players is essential. Online casino bonuses have an impact on casino rankings. For additional details on how to choose better casino bonus? see this page. You should be aware that in order to locate the ideal website, comparing Canadian online casino bonuses is frequently required.

pused1999 profile image

Since childhood, I love playing games. As I am getting younger now I started playing casino games. I also help people to select proper trusted games. You can look at my sources to know about casino games. If anyone needs guidance then do contact me. I am always available.

ainospring profile image
Aino Spring

I recommend codingame. It supports many different languages.

lavin475 profile image

Good games

martinbannister profile image
Martin Bannister-Kelly

I'd add TwilioQuest to this list. Really fun graphical game with problem solving puzzles using JavaScript (and other stories for Python, open source and APIs).