r/learnprogramming • u/E-Freelancer • Jul 24 '21
Games for programmers
Hello! Let me share a selection of games available in Steam in which you need to program a code. It's a small list and I hope you can suggest some games that are not in this list.
By the way, next post about visual programming is already on Reddit!
Games based on assembler-like language:
TIS-100, SHENZHEN I/O, MHRD, functional
Roughly the same as above, but a little simpler:
More about hacking than programming:
Games where need write code for moving or action (character or environment)
Screeps: World (JS), Tanxy (JS), Adventure Land - The Code MMORPG (JS), EXAPUNKS, Marvellous Inc., Robo Instructus, Code World
And my personal favorite, hardcore game for cryptoanalitics:
Operation Deep Magic: Cryptanalysis
I hope you liked my small selection and if you want more awesome puzzle games about programming or hacking then follow my Steam curator page and join to group.
Good luck to everyone and happy coding/learning/gaming :)
---
UPD. The functional game added to list of assembler-like games.
UPD2. The Grey Hack and the Screeps: World was added.
UPD3. Adventure Land - The Code MMORPG was added.
66
u/GrandaddyIsWorking Jul 24 '21
Play factorio to learn about scaling
17
u/E-Freelancer Jul 24 '21 edited Jul 24 '21
Factorio, Satisfactory, Dyson Sphere Program, Mindustry is most of awesome games, but them is not about real programming :)
39
u/ICantMakeNames Jul 24 '21 edited Jul 24 '21
Yes, they are not strictly about "real" programming, but their main game loops rely on concepts that are essentially the same as programming. Factories, like programs, take inputs and give outputs. They require planning to minimize wastefulness and to optimize efficiency.
The goal of Factorio is to build a factory/program that will build you a rocket.
16
u/ddek Jul 24 '21
Obligatory: https://bartoszmilewski.com/2021/02/16/functorio/
I don't like playing factorio, because it feels way too much like work for me. It is far more like programming than any programming game, and I really like TIS-100.
6
u/Chthulu_ Jul 24 '21
Factorio just stresses me out because I know I could spend 6 hours perfectly optimizing this thing and I'm not even getting paid for it. In a different timeline I would have loved it though.
4
1
5
u/shine_on Jul 24 '21
I called one of my Factorio games "is this fun or is this work" lol
5
u/TheTomato2 Jul 24 '21
Its fun until you hit the point where you know what you have to do to scale will take hours. I always hit a point where it's like I should just spend my time programing instead.
1
u/ssilly_sausage Jul 25 '21
Absolutely. I never play these games or lose interest very quickly because I know I'll get better value out of my time and the same satisfaction if I work on a real project. The only ones that interest me a little are ones that are directly competitive like screeps but even then I usually give up after realising just how much time it would take to get anywhere near the top players.
1
u/E-Freelancer Jul 24 '21
Agree, I would like to talk about these games and in general about all games in which a similar pattern is used in next post :)
9
u/shine_on Jul 24 '21
Factorio isn't about writing code per se, but in order to build a working factory you definitely need to think like a programmer. It'll teach you how to break a problem down into more manageable steps, how to cope when your solution has a knock-on effect somewhere else, how to debug and optimise when your factory isn't working the way you think it should. Far too many people think that programming is all about writing code, but in reality the actual code writing part is a very small part of the skillset.
2
u/E-Freelancer Jul 24 '21
Totally agree, the Factorio is a perfect sample of game with elements from programming in core gameplay, but I just wanted to share games in which need to write code.
7
u/davidjackdoe Jul 24 '21
Even if it's not actual programming, Factorio to me felt more like doing an actual programming project than stuff like TIS-100, which felt more like a puzzle that used code.
3
u/skellious Jul 24 '21
but them is not about real programming
You can make a turing machine in Factorio easily. you can 100% program in it.
27
u/Double_DeluXe Jul 24 '21
Play cractorio to learn about how you get sidetracked and how to turn bugs into featues!
38
u/Kuanzinh Jul 24 '21
"Baba is you" is a Great game for logic training
8
u/E-Freelancer Jul 24 '21
Hello! I’ve heard about this game but never played, thanks for reminding.
22
Jul 24 '21
[removed] — view removed comment
5
u/YourEngineerMom Jul 24 '21
I just got that game recommended to me and was unsure. You’ve convinced me to try it! Thanks :)
4
u/Kuanzinh Jul 24 '21
Thank you, English is not my first language, so I just didn't know how to explain that :) (enjoy your award)
4
23
u/ashoelace Jul 24 '21
There's a nice little game called while True: learn(). It's not exactly programming but it does help improve your logic skills.
4
5
u/E-Freelancer Jul 24 '21
Yeah, WTL is awesome game about data analyzing, not about programming, but core gameplay is based on programming patterns. I'll will talk about WTL in some other post :)
17
u/Dexaan Jul 24 '21
https://store.steampowered.com/app/400110/Else_HeartBreak/
Could use a faster start, but is a cyberpunk hacking game.
4
u/E-Freelancer Jul 24 '21
Hello! This game looks awesome, thanks, i'll check!
6
u/Dexaan Jul 24 '21
Be prepared for said slow start - don't be afraid to use a guide up till you get the hacking item.
2
14
u/uberwings Jul 24 '21
What about Adventure World MMO? Screeps as well.
3
u/E-Freelancer Jul 24 '21 edited Jul 24 '21
Hello! Never heard about this game, can you please provide a link?
(I meant Adventure World MMO)
10
u/uberwings Jul 24 '21
Oops, sorry wrong name. Should be this: https://store.steampowered.com/app/777150/Adventure_Land__The_Code_MMORPG/
They provide the tools for you to code in JS and actively encourage you to make your own bots and let the code do the grinding, it's great.
7
u/CaptainRadd Jul 24 '21
Here is another addition to the list: codeingame
8
u/E-Freelancer Jul 24 '21
Hello! It's not the Steam game but thank for the link.
Check this game too https://spacetraders.io/ it's an REST API server with game like Galaxy Empire but without frontend (sound weird i know)
1
6
u/Zimkittykat Jul 24 '21
I love games and I’m trying to learn python, so this sounds like a fun way to practice. Thank you ☺️
8
u/E-Freelancer Jul 24 '21
Hello and thanks for the comment! By the way, a game that uses a programming language similar to Python is Code World
4
5
u/smokejoe95 Jul 24 '21
There is also JavaKara to learn Java, and many different versions of it, for different languages.
Check it out: https://www.swisseduc.ch/informatik/karatojava/javakara/
2
u/E-Freelancer Jul 24 '21
Hello! Thanks for the link, but I don't understand German, is there the same thing but in English?
4
u/smokejoe95 Jul 24 '21
On the same site in the downloads section, at least it seems to have an english version of it. https://www.swisseduc.ch/informatik/karatojava/download.html Didn't try it myself though, and I'm not sure, whether there are lessons in English as well. But it should be possible to just translate the website.
Also JavaKara is kind of an old software and it looks like so. It was created at ETH Zurich, to teach Java in schools. Most of the lessons are therefore in German.
I actually learned programming using JavaKara. It is worth a try
1
2
9
u/Poddster Jul 24 '21 edited Jul 24 '21
I found a lot of these games to be quite aggravating as a programmer as they're intentionally restrictive to try and make things more of a "challenge". E.g. in the Zachatronic' games comments and blank lines count as lines of code and so you're forced to write big chunks of unreadable garbage.
I much prefer Factorio as it scratches a similar itch and allows you to set yourself up for massive failures and technical debt, just like in programming :)
6
u/E-Freelancer Jul 24 '21
Thanks for the comment! I agree that games from list and by Zachatronc in particular are limiting and a little intimidating, but their beauty is that the process of creating programs and finding solutions is very similar to how it happens in the real world.
The Factorio is an amazing game and it is also full of restrictions, for example, you cannot build multi-level pipelines, as can be done eg. in the Dyson Sphere Program or in the Satisfactory.
4
Jul 24 '21
Not really programming but duskers is a great game that you can play using commands.
4
u/E-Freelancer Jul 24 '21
Hello! Yeah, the Duskers is awesome game, but the main idea of the Duskers is "shell for commanding drones" more like scripting, not real programming.
By the way look at the Deadnaut game which is stylistically similar to the Duskers.
About both or these game i want to talk in some another post.
4
u/AutomatedChaos Jul 24 '21
Everything from Zachtronics is great. I even like their early games that you can now play for free (Zurückengineer that translates into reverse engineer in English I believe it is called). Silicon Zeroes does have a bit of the same atmosphere. And Prime Mover is a little fun game too.
1
u/E-Freelancer Jul 24 '21
Hello! Thanks for the mentioned games, I've played in the Silicon Zeroes and this game is awesome, but this game for one of next posts. The Prime Mover looks interesting, seems it's already in my wishlist, need to try :)
2
3
3
u/pancakeQueue Jul 24 '21
Wish this game was longer, but it was fun for a bit. Get it on sale. https://store.steampowered.com/app/240440/Quadrilateral_Cowboy/
3
u/E-Freelancer Jul 24 '21
Hello! This game looks weird and fun, thanks, ill check.
3
u/pancakeQueue Jul 24 '21
The only thing that sucks is really by the time the game really shows you everything you could do to interact with the world or kind of just end.
But for that small time playing it, it was really fun to walk through a level with my laptop. And try to come up with a script that would allow me to break in and win. There is a level with a sniper rifle you had to script that was really fun.
I should really check out the modded maps people have made I have seen a few.
1
u/FloydATC Jul 25 '21
It's also completely linear and I gave up when it became all about timing my running and not at all about using weird gadgets. I much prefer games that let me experiment at my own pace.
3
Jul 24 '21
i like shenzhen but it does have me tearing my hair out every now and then. quite a few things that feel so convoluted and if you have just a single line of excess code the entire thing fails after spending an hour. really low level but still fun
1
3
u/Zalac96 Jul 24 '21
Screeps is the only real programming game out there
1
u/E-Freelancer Jul 24 '21
Hello! Unfortunately I didn't play it yet, downloaded couple hours ago.
By the way, https://spacetraders.io/ is also about real programming.
1
u/franker Jul 24 '21
for a genx guy this reminds me so much of those space trader games that used to be in every dial-up BBS system.
1
u/E-Freelancer Jul 24 '21
Oh my, I remembered that played in this game a couple of years ago, it should definitely be on the list!
3
Jul 24 '21
Which of these games can I play to improve my C++ skills?
3
u/E-Freelancer Jul 24 '21
Hmmm, interesting question, all of mentioned games is for training thinking skills so in general all of them is matched, but if you like to solve very difficult issues then look at Operation Deep Magic: Cryptanalysis it's not about C++ but about advanced things like editing hex, hacking encrypted messages and more.
4
3
3
u/MuslinBagger Jul 24 '21
There's Turing Complete. It's about Computer Architecture using logic gates and then goes into higher and higher abstractions. Like the Elements of Computing Systems Book. The UI is a bit janky but still a fun game.
2
u/E-Freelancer Jul 24 '21
Hello! As I know this game is not released yet, when it is available I will definitely play it, thanks!
2
u/MuslinBagger Jul 24 '21
I was approached and was actually given a key by the dev. He seems quite nice and so I played a few levels. But unfortunately, I haven't gotten the chance to spend a longer time on it as I've been busy with other stuff.
My impression was there is a lot of promise here, but it needs a lot of polish.
1
u/E-Freelancer Jul 24 '21
Maybe you know how to contact the developers? A very curious game, need to tell people about it :)
3
u/Its_Raining_Bees Jul 24 '21
It's not on Steam, but for those looking for free games, there's BitBurner. Contains "Netscript 1.0" (ES5 interpreter with some polyfills) and "NetscriptJS" (loaded as modules). Obligatory warning: because you can write arbitrary code it's possible to break the entire game so save early, save often.
1
3
u/Datsoon Jul 24 '21
Anything for Android?
1
u/E-Freelancer Jul 24 '21
Unfortunately I know only this game with real codding:
https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp
But i found few ports of some visual programming games:
https://play.google.com/store/apps/details?id=com.nival.wtlm
https://play.google.com/store/apps/details?id=com.tomorrowcorporation.humanresourcemachine
https://play.google.com/store/apps/details?id=com.tomorrowcorporation.sevenbillionhumans
2
u/Eliwynn Jul 24 '21
Also Hackmud. Multiplayer game where you can code in JS (:
1
u/E-Freelancer Jul 24 '21
Hackmud
Hello! As i know this game was broken by developers and abandoned some time ago.
2
u/StuntHacks Jul 24 '21
I recommend you check out Screeps. It's an RTS where you code your base and all your units in JS, from the ground up. It's also still maintained, and there will be an expansion in the near future.
2
2
u/E-Freelancer Jul 24 '21
Small update. I heard about the Screeps and even played it a couple of years ago, just forgot about it.
2
2
u/Chillax4Nothin Jul 24 '21
try MU complex
2
u/E-Freelancer Jul 24 '21
Hello! This is the fantastic game, love it. My favorite part is googling answer to quest in real world, the fourth wall breaks :) But the MU complex is not about programming, it's more about kinda hacking. By the way, Mu Complex is similar to the Orwell games a little.
2
u/1nate146 Jul 24 '21 edited Jul 24 '21
This is may be an odd suggestion but Final Fantasy 12 gameplay is very programmatic, as it freatures conditional programming of your party member. Probably not as on the nose the others, but I feel like it you can learn a lot from it without realizing.
1
u/E-Freelancer Jul 24 '21
Hello! A very curious perspective on programming process. But from your perspective (by my humble opinion) the SW: Knight of the Old Republic and sequel fits the description a litter bit better.
2
Jul 24 '21
That's a great list! Among these I played only SHENZEN I/O and I gotta say, the manual is really hard to use! And they recommend printing it, which is a solid liability.
From HumbleBundle I have 2 more games: Molek-Syntez and ExaPunk. They could probably fit into one of those categories, but I haven't played them.
2
u/E-Freelancer Jul 24 '21
Hello! The ExaPunk is already in category "Games where need write code for moving or action (character or environment)".
The Molek-Syntez is also fun but not in this list only because from my opinion is more like visual programming (not a classic coding game).
2
2
u/spaceguy5234 Jul 24 '21
Hey! I just wanted to add, GreyHack is a great mix of both hacking and coding, and has both a multiplayer and single player mode, but single player is more testing and practice for multiplayer. Its like if hackmud met hacknet, and its getting better with each update.
1
2
u/DrCabbageX Jul 24 '21
I didn’t even know these existed
1
u/E-Freelancer Jul 25 '21
About 7 years ago, I also did not know that such games existed :)
UPD. Meant games about coding.
2
u/nvsmrda Jul 24 '21
Any games that help with learning Java?
1
u/E-Freelancer Jul 24 '21
Hi! Look at this comment
2
2
u/MorningPants Jul 24 '21
Manufactoria has always been one of my favorites
2
u/E-Freelancer Jul 24 '21
Cool legacy game, seems it's by Zachtronics and also seems soon will be release of remake https://store.steampowered.com/app/1276070/Manufactoria_2022/
2
u/E-Freelancer Jul 24 '21
Oh, nope, Manufactoria is by PleasingFungus Games, I know Silicon Zeroes and by some reasons thought is Zachtronics game.
2
2
u/PawysV Jul 24 '21
Does anyone know any games for programmers on ios?
2
u/E-Freelancer Jul 25 '21 edited Jul 25 '21
Some of my favorite games on PC is also available for IOS:
1
2
u/Mortisanti Jul 24 '21
Squally is certainly worth mentioning.
"Squally is a 2D puzzle RPG programming game that teaches you how to hack. Control the world by rewriting it in x86/x64 assembly language!"
2
2
u/Jolly_Sky_8728 Jul 24 '21
Those are a nice selection of programming games, specially TIS-100 and Shenzen.
Have you tried Hacknet? Thins one seems fun tho is more about networking and terminal...
Factorio and Dyson's Sphere Program are good too.
1
u/E-Freelancer Jul 25 '21
Hello! Yes, I've tried all of mentioned games, all games by Zachtronics is awesome, the Hacknet as i know abandoned by developers, the Factorio and the DSP is absolutely amazing games :)
By the way all of them recommended on my curator page in Steam.
UPD. Ah, sorry, Hacknet, I confused it with Hackmud, last one is abandoned, but the Hacknet is awesome :)
2
Jul 24 '21
Hack Run is also really good. It's a terminal based mobile game where you learn commands and break into stuff to uncover info.
2
2
2
u/silverhikari Jul 24 '21
i wonder if hackmud would fall into this catagory?
1
u/E-Freelancer Jul 25 '21
Hello! From my humble opinion the Hackmud is not an ideal sample of game about coding. Because this game has bad reviews and people don't recommend it, due broken balance and abandoned development of game by creators.
Therefore, it was not included in this list because, from my point of view, people should enjoy the gameplay and not experience inconvenience.
1
2
u/Titanmaster970 Jul 25 '21
From personal experience, using command blocks in minecraft is what got me into programming. You can think of it like 1 command block = 1 line of code, and with it you can create many interesting things.
2
u/E-Freelancer Jul 25 '21
Oh, Minecraft is a great game, I found it probably in 2008, my friends made fun of me that I like all sorts of creepy looking games. But i found amazing gameplay in this game, endless world, red stones and more.
2
Jul 25 '21
But why is it all in steam?
1
u/E-Freelancer Jul 25 '21
Hello! The fact is that I have been using Linux for work for over 10 years, and of course I play and Steam is currently the only store that supports this operating system.
It's just convenient for me that everything is at hand and I don't have to go anywhere :)
2
Jul 25 '21
That's cool but I was just wondering if similar games are available out of steam and open source.
1
u/E-Freelancer Jul 25 '21
Great, then check this list, it's about an OpenSource games, so you can find source code of them on GitHub. Not all of them is about programming.
2
u/FusRoDawg Jul 25 '21
There is also some coding involved in simple rockets 2. It's similar to that drag drop language Google created to teach kids or whatever.
1
2
u/josedasjesus Jul 25 '21
not on steam yet but i would like to include my graphic node programming game https://learn-stuff-games.itch.io/code-rivals
2
u/E-Freelancer Jul 25 '21
Hello! Linux version will also available?
1
u/josedasjesus Jul 25 '21
sorry, no plans for linux for now, im using Unreal Engine so it might not be difficult to port, i will look at it later
2
u/NPException Jul 27 '21 edited Jul 27 '21
Id like to mention 3 more games in order of actual programming involved:
Else Heart.Break()
This is one of my all time favourites. You start off as a normal person, but soon realize that you can change the world with an odd little programming tool. It takes some time to get full access to the possibilities, but it's worth it.Silicon Zeroes
Has been on my wishlist for a while. Just looks interesting.The Magic Circle
No actual programming involved just selecting options with the mouse iirc. But it was a lot of fun to play!
[EDIT] I should have read the other comments first, looks like the games have already been mentioned :D
1
u/E-Freelancer Jul 27 '21
Thanks for the list! Yep, all games you mentioned was already in comments, but in any way thanks, looks like these games is popular in programming community and i need to share them in one of next post about cool games for programmers :)
6
u/reign27 Jul 24 '21
I always think Double Fine's Hack 'n' Slash is worth a mention in programming games. It's not perfect by any means, but it offers a rare perspective of programming games: Rather than programming virtual machines, you're in a Zelda-like game world, editing the rules of the creatures and objects around you.
It's a great idea with an imperfect execution. If anyone can think of better examples of this type of game, I'd love to hear them.
2
u/arthur_olga Jul 24 '21
I really like Hacknet, which is heavily inspired in reality. Should give it a try
3
u/E-Freelancer Jul 24 '21
Hello!! I agree, the Hacknet is a great game, and the Labyrinth DLC feels like a different game, it's an amazing experience but the Hacknet not the list only because in this game no real programming (I mean coding by hands). But it will be in next post about kinda hacking games.
1
2
u/BiggsWedge Jul 24 '21
Ah, you forgot that new game on switch. I think its called Game Builder Garage. And maybe Dreams and Mario Maker counts as well. They can teach you about using premade tools to actually make a product and then getting feedback on that product.
2
u/E-Freelancer Jul 24 '21
Hello! Sorry, but I don't have the Switch, but thanks for games, now I know in what need to play first (after purchasing this console)
4
1
1
u/suckarepellent Jul 25 '21
Flexbox Zombies! Learn the flexbox css framework while surfing the apocalypse. It's pretty fun! Still free AFaIK
1
u/E-Freelancer Jul 25 '21
Hello! It looks like some kind of coding course, is this really a game?
2
1
3
3
2
u/joshimoo Jul 24 '21
Older project for learning programming by implementing ant ai.
Then have matches against other users ai.
1
2
2
u/lionhart280 Jul 24 '21
Some I will add:
FFXI: The MMO you need to learn lua to play. The two primary third party client wrappers for ffxi (Windower and Ashita) both make heavy use of plugin systems via lua. The best players all learn lua to write customized "Gearswap" scripts in lua to absolutely min max every ounce of dps they can muster.
Factorio: not strictly code, but the extremely complex reasoning to constructing your factories on logical ways teaches a lot of important concepts for coding (Separation of Concerns, Inversion of Control, Factory Pattern, etc)
Little Big Planet 3: kind of an old game now succeeded by Dreams by the same company, LBP was an entire game engine you can make your own games in with logic and wires and switches and etc
Speaking of...
Dreams: LBP taken to the next level. VR support, one of the most powerful "game engine in a game"s on the market. Requires the PSMove and ideally PSVR but its worth it.
2
2
2
Jul 24 '21
I really liked shenzhen i/o, especially how sometimes illustrated how your device worked. Like the automatic sandwich maker which popped up a flag after it finished assembling your sandwich.
2
u/SadisticFlamingo Jul 24 '21
The game Hacknet is definitely for people who want to simulate hacking.
It is also free.
2
u/__pilgrim Jul 24 '21
TIS100 actually got me into programming. Great to see some attention on what is quite a niche game.
2
u/reuse_recycle Jul 24 '21
I want to learn what happened to the uncle in TIS 100 but I cant get past the third row of puzzles. I just gotta suck it up git gud.
2
2
u/skellious Jul 24 '21
I think im an okay programmer, then I try to play Shenzhen and I get DESTROYED. I have no idea how to do that low level stuff... such a reality check.
2
2
u/UselessButTrying Jul 25 '21
These games have been in my steam list for a while especially zachatronics games. I think ill finally buy some and try em out
2
u/layman-shaman Jul 26 '21
Lovely, thank you. I will look into these. Very timely since I just quite literally spent a whole night dead set on finaly completing Human Resource Machine - and I did. The main story that is. Not all the ”side quests”. So much fun!
2
0
2
128
u/[deleted] Jul 24 '21
Great list, thanks!
I really enjoyed Human Resource Machine. It also teaches assembler-type thinking.
There is also Hacknet and NITE Team 4. The latter basically being a gamified version of Kali and pen-testing tools. Really well made.