I love TIS-100, but at some point I realized I was studying the user manual for a fictional computer, trying to learn it's fictional assembly language, to optimize some multicore data flows.... and decided I should probably get paid for doing that in real life instead.
If I wanted logic flow embedded in a game then I’d want it in an environment that’s far removed from traditional programming. Such as building contraptions in Minecraft.
But even games that seem like just a job can be fun. Euro Truck simulator is fun because you are entirely self directed. Each job produces tangible results and you feel yourself progressing in a clear way that you often do not feel in a real job.
(I enjoy more arcade style)
The games track things like cycles taken to complete the task, size/area of the machine, and cost. Those scores are shown on separate leaderboards and optimizing for one can come at the cost of another (e.g. faster machines may be bigger and/or more expensive).