A game that lets players to experience the process of software development is a great way to introduce programming and coding concepts like loops and conditional statements. Zachtronics Shenzhen I/O is a game that does this. It puts players in the shoes of disgruntled engineers who work for a non-existent company and are required to design computer chips manually. They are given increasingly complex circuits to design. They begin by making lights flash in a certain pattern.
The game’s interface is very similar to that you will find in browsers. Additionally, it is www.mrworkspace.nl/2012/09/22/finding-the-best-news-from-software-development-world/ a great way to teach scripting. Another excellent example is Screeps which combines JavaScript programming and massively multiplayer online gaming to create self-sustaining colonies. Both games excel in teaching fundamental concepts and slowly introducing new players.