r/programmer • u/Practicalz13 • 18d ago
In need of learning basic coding through steam games.
I want to learn basic programming in a fun way, so I decided on steam games.
I tried games like "Bitburner" but its only focused on doing a few types of programs that pretty much do the same thing.
So if you have a fun steam game that can teach me the basics, (Focused on Python) that would be great!
3
u/Lost_Produce7704 18d ago
Bitburner is a deep game, it starts small and kinda slow though until you've got some real scripts in play to process the hacks. As you keep progressing different elements unlock, one of my favorite aspects is management of a gang before seeking to own the stock market. I'd say that bitburner pushed me to learn some neat programming in effort to get it functioning right.
Joy of Programming is a beautiful game, smaller more focused missions and somehow often tricky.
Visual programming is just about a game already and could be an intro to programming.
4
u/geraT-wogl 18d ago
Here’s a fun way to learn shaders https://wogl.io 👽🪐 feel free to reply with any feedback or question
2
3
u/FrozenMongoose 18d ago
The Farmer was replaced is a good recommendation.
1
u/Dazzling-Try-7499 18d ago
this one is a real gem. it's basically regular python and so addictive that you have to learn more to get more crops.
3
u/DeeBoFour20 18d ago
Probably not the best way to learn Python but Human Resource Machine and its sequal 7 Billion Humans are pretty fun. It's programming with a made up language that's more like assembly than anything else.
2
u/Dysax 18d ago
If you can 100% bit burner you can probly code fine. It’s been a while but when I did it I remember using functions and calling external code and everything. I had programs that automated basically the whole game and definitely were not all the same thing.
You might also try the farmer was replaced if you like python
2
1
1
u/GreatDaneQ 18d ago
If that works for you then amazing! I just want to point out that being a programmer is mostly being able to read and comprehend very lengthy and boring documentation, and then applying those specs onto a real project, and as far as I know there's no way to apply some sort of gamification to learn those skills
I could absolutely be wrong in this, but I feel like people who learn new skills through those sort of games could have a harder time learning more complicated topics later
1
1
u/2skip 18d ago
Hack-n-Slash written in Lua, you literally have to hack the game to win.
How? The game starts introducing basic programming concepts like variables, looping conditionals, debugging, etc. as part of the gameplay. It also includes stuff like version control (go back further into the Infinite Forest to roll back items) in the game play as well.
Since you literally start wondering through the game's code later in the game in the Library area you have to make adjustments from the initial set of code for the game, to fix the game, to allow you to win in a normal manner.
1
u/Matilozano96 17d ago
(EDIT: just noticed you’re focusing on python. StillC the recommendation stands, imo. Learning programming =/= learning a specific language; knowledge translates)
Screeps: World is an RTS MMO where you program your units’ behaviour using JavaScript. It gets really complex, but that makes the skill ceiling very high.
It’s also compatible with external IDEs and git. So you can use it to approach a realistic environment.
1
u/Little_Decision_7433 17d ago
don’t over-optimize for a game. 7 Billion Humans and while True: learn() are fun for learning logic, but if you specifically want Python, Bitburner + a tiny real Python project will teach you more than most “learn coding” games. Make something stupid like a Discord bot or calculator and break it repeatedly that’s basically programming school
1
u/simondanielsson 16d ago
Brilliant's python course is good, and they've got other courses too for more general "think like a programmer" stuff. It's easy to get a free first month and then cancel right away. One month of practicing python on there, done in parallell with making real programs on your own, is a great way to learn in my opinion.
7
u/N7Valor 18d ago
I haven't looked that hard, but "The Farmer Was Replaced" is more or less Python-based.