A game that allows players to experience the process of software development can be a great way to teach programming concepts and coding features, like loops and conditional statement. Games that can do this include Zachtronics Shenzhen I/O which puts players in the shoes of disaffected engineers who work at an uninteresting chip company and must design computer chips by hand. They are given increasingly complex circuits to design. They begin with the making lights flash in a specific pattern.
The game’s interface is very similar to that you see in browsers, and it also teaches scripting. Another excellent example is Screeps which blends JavaScript programming and massively multiplayer online games to create self-sustaining colonies. Both games excel at teaching basic concepts and slowly introducing other players.
https://mrworkspace.nl/2016/03/16/windows-7-iops-for-vdi-deep-dive/