CodeCombat is a browser role-playing game that teaches programming by making typed code the controls: the hero moves, fights and collects gems only when your Python or JavaScript runs. Levels are grouped into worlds such as Kithgard Dungeon, Backwoods Forest and Sarven Desert. The website code is MIT-licensed and the art is CC-BY, while the campaign levels on codecombat.com stay proprietary.