r/learnprogramming • • 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:

Comet 64, Move Code Lines

More about hacking than programming:

Grey Hack

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.

1.7k Upvotes

184 comments sorted by

View all comments

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

u/Pay08 Jul 24 '21

Funnily enough, that's precisely why I love it.

1

u/M3L0NM4N Jul 24 '21

it is really satisfying when you do though

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 :)