A game that allows players to experience the process of software development is an excellent way to introduce programming and coding concepts such as loops and conditional statements. Zachtronics Shenzhen I/O is a game that accomplishes this. It puts players in the shoes of angry engineers who work for a dull company and must build computer chips manually. They are presented https://mrworkspace.nl/2021/12/17/how-managed-workspace-sessions-can-benefit-your-business/ with increasingly difficult circuits to create, starting with the making lights flash in a specific pattern.
The interface of the game is similar to the one found in browsers, and it teaches scripting. Screeps is a different excellent example, which blends JavaScript code with massively multiplayer online gaming in order to create self sustaining colonies. Both games are excellent at teaching basic concepts, and slowly introducing new players.