A game that lets players play with software development is a great way to teach programming concepts and coding concepts techniques, including loops and conditional statement. Games that do this include Zachtronics’ Shenzhen I/O, which puts players in the shoes of disaffected engineers who work for a drab chip company and have to build computer chips by hand. The circuits they have to design get more difficult beginning with making the lights flash in a particular pattern.
The game’s interface is very similar to that you will find in browsers. Additionally, it helps students learn scripting. Screeps is a different excellent example, which incorporates JavaScript https://mrworkspace.nl/2011/03/24/if-you-read-nothing-else-today-read-this-report-on-news-from-software-development-world/ code with massively multiplayer online games to build self sustaining colonies. Both games excel in teaching fundamental concepts and slowly introducing others.