A game that allows players to experience software development can be an excellent way www.mrworkspace.nl/2010/05/11/the-news-from-software-development-world-game/ to teach programming concepts and coding features, like loops and conditional statements. Games that do this include Zachtronics’ Shenzhen I/O, which puts players in the shoes of disaffected engineers working at an uninteresting chip maker and have to build computer chips by hand. They are given increasingly challenging circuits to create, starting with making lights flash in a particular pattern.
The interface of the game looks very similar to the tools used by developers in browsers and also teaches scripting. Another excellent example is Screeps which incorporates JavaScript programming with massively multiplayer online games to build self-sustaining colonies. Both games are excellent at teaching the basics of concepts and slowly introducing other players.