5 Games That Teach You How to Code
These Web games will give you a fun and engaging introduction to the world of programming.
CodeCombat is an HTML5 role-playing game (RPG) that teaches you fundamental programming concepts.
In CodeCombat, you play a hero adventuring through the game’s levels. The first level is Kithard Dungeon, which covers basic programming concepts. You’re faced with coding challenges throughout your journey, and if you overcome them, you’ll unlock the next level and earn experience points (XP) that you can use to improve your hero.
CodeCombat is appealing to young, aspiring programmers. According to an in-game survey, 62% of CodeCombat’s users are under 18 years old.
Code Hunt is a Sci-Fi-themed HTML5 game developed by Microsoft Research.
In this game, you play as a code hunter tasked with repairing code so that it returns the expected result. There are 14 levels, called Sectors in the Code Hunt nomenclature, for you to complete.
Code Hunt supports either Java or C#. Programming concepts you’ll learn include arithmetic, loops, and conditional expressions.
Teachers who would like to extend the game with additional Sectors can do so by first reading the Code Hunt Designer Manual.
CodinGame is a huge suite of challenging games for programmers. If you want to improve your coding skills, playing CodinGame is a fun way to do so.
The game can be played on single player mode or multiplayer mode. In multiplayer mode, you can solve CodinGame challenges with other users.
The game is an open-world strategy game where you control units, called creeps, that will help you mine resources, establish your territory, and so forth. Being a multiplayer online game means your creeps will be alongside the creeps of other players.
In FightCode, the objective is simple: Create a robot that will defeat the robots of other players.
.rotateCannon() method to rotate your robot’s cannon by a certain number of degrees when a certain event happens.
Before building your indestructible, world-dominating robot, the first step you’ll need to take is to read the docs to learn how to code a robot.
This was published on Sep 30, 2015