Tin Can is a space survival simulator, where you are trapped in an escape pod after the loss of your ship. There are a few systems in your escape pod, and each system has components you need to look after. Your pod regularly flies through astoroid fields & other space phenomena that break these component parts forcing you to repair, replace or do without the systems keeping you afloat.
Teddy
Copy Editor: A RegEx Puzzle Game
It's a word-puzzle game that incrementally teaches you how to use Regular Expressions (RegEx) to find & replace text. Some of the puzzles add silly restraints for you to work around, and the game has charming NPC coworkers that introduce each challenge.
They may need to mix it up by switching to 2 crossed staffs with a total of 3 snakes to get it juuusst right.
I've seen publisher/subscriber out in the wild.
I like learning through games, because it helps keep me engaged. BitBurner is a free incremental JavaScript programming game that I enjoyed. It even has a coding puzzle element similar to games on codin game.com, which has a bunch of free games/puzzles in several languages.
These games didn't necessarily walk me through programming concepts, but got me comfortable with reading documentation and a offered a sandbox to experiment in. YMMV.
I like Root, its like an asymmetric Risk.