A game that lets players to experience the process of software development is an excellent way to teach programming and coding concepts like loops and conditional statements. 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 maker and must design computer chips by hand. They are provided with increasingly challenging circuits to design, starting by making lights flash in a specific pattern.
The interface in the game appears very similar to developer tools found in browsers and teaches scripting. Another excellent example is Screeps which combines JavaScript programming with massively multiplayer online gameplay to build self-sustaining colonies. Both games do a wonderful job of teaching the https://mrworkspace.nl/2012/09/22/finding-the-best-news-from-software-development-world/ basics while slowly introduction of new ones.