CodeCombat
CodeCombat is a popular online RPG that turns learning Python, JavaScript, and CoffeeScript into an adventure.
Players control a hero by writing code to move, attack, and interact with the environment. It starts with simple commands and gradually introduces variables, loops, and more advanced concepts. It’s a great platform for both schools and individual learners.