A game that allows players to experience software development is an excellent way to teach programming concepts and coding, such as loops and conditional statements. Zachtronics Shenzhen I/O is a game that accomplishes this. It puts players in the shoes unhappy engineers who work for a boring company and have to build computer chips by hand. They are presented with increasingly difficult circuits to design. They begin by making lights flash in a specific pattern.

The interface in the game looks very similar to the tools used by developers in browsers and also teaches scripting. Another great example is Screeps which incorporates JavaScript programming with massively multiplayer online games to create self-sustaining colonies. Both games do a great job of teaching the basics while also slowly introducing new ones.

https://mrworkspace.nl/2016/03/16/windows-7-iops-for-vdi-deep-dive/