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 ๐Ÿ‘‡

Discussion (7)

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 ๐Ÿงœโ€โ™€๏ธ Author

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 ๐Ÿงœโ€โ™€๏ธ Author


ainospring profile image
Aino Spring

I recommend codingame. It supports many different languages.

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).