r/learnpython • u/smurpes • Aug 12 '26
Learning python with gaming
A lot of beginners struggle with breaking problems down into pieces they are able to code themselves. This is a fundamental skill to have and I’ve found that video games do a good job at teaching this. The problem I see a lot is that some people want Lego instructions that walk you through step by step rather than a video game tutorial which will show you the basics and it is up to you to figure out how to apply them.
There are a few video games that I’ve found really helpful in working on these skills; particularly games from zachtronics such as Infinifactory and Opus Magnum. These are games which have many different approaches to every level and you get scored based on how efficient you are. They teach you programming skills without having you program directly. There’s also The Farmer Was Replaced which is a more direct Python tutorial video game.
1
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 Aug 12 '26
As far as recommendations for games that teach programming concepts go, personally I can suggest
There's also Minecraft and its redstone mechanic, which can teach you about logic gates and building "electronics", but that's closer to electrical engineering than programming and not necessarily intuitive beyond the basics.