A game that lets players to experience software development is an excellent way to teach programming and coding concepts such as loops and conditional statements. Zachtronics Shenzhen I/O is one game that does this. It puts players in the shoes of disgruntled engineers who work for a drab company and have to build computer chips manually. They are given increasingly complex circuits to design. They begin with making lights flash in a specific pattern.
The game’s interface is very similar to that found in browsers, and it helps students learn scripting. Screeps is a great example that incorporates JavaScript code with massively multiplayer online gaming to build self sustaining colonies. Both games excel at teaching basic concepts, and slowly introducing other players.
www.mrworkspace.nl/2015/08/03/techedge-2011-presentations-and-videos/