Learn Programming languages by playing games
A Thread

A Thread
CodeCombat
The most engaging way to learn Python or JavaScript by writing small code snippets
https://codecombat.com/
Ruby Warrior
If you want to learn Ruby, then Ruby Warrior is the game for you. There are beginner and intermediate tracks to suit your skill level
https://www.bloc.io/ruby-warrior#/
CodinGame
One of the great things about CodinGame is that you can play with friends or colleagues, and also enter international coding competitions. It supports 25 programming languages
https://www.codingame.com/start
CodeMonkey
It’s aimed at coding for kids, but it’s definitely fun for adults, too
I enjoyed it a lot
https://www.codemonkey.com/
Check IO
Coding games for beginners and advanced programmers where you can improve your coding skills by solving engaging challenges and fun task using Python and TypeScript
https://checkio.org/
Cyber-dojo
Practice your JavaScript, Java, Python, PHP, Ruby, etc skills here on the virtual space
https://www.cyber-dojo.org/creator/home
Untrusted
Untrusted is a JavaScript adventure game that tests your JavaScript skills to solve problems
https://alexnisnevich.github.io/untrusted/
We will make coding easier for everyone. Add more
Read on Twitter