TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Games of Coding – A curated list of games that teach you a programming language

206 pointsby michelpereiraover 8 years ago

25 comments

veganjayover 8 years ago
I see you already have a pull request for TIS-100. That&#x27;s the first that came to mind.<p>Does it make sense to break down the list by categories? For example:<p>- New to programming: Lightbot, Spritebox<p>- Reverse engineering: <a href="https:&#x2F;&#x2F;microcorruption.com" rel="nofollow">https:&#x2F;&#x2F;microcorruption.com</a>, many of the Zachtronics games<p>And so on...<p>Also, here are a couple of other lists of games I&#x27;ve been going through:<p>- <a href="http:&#x2F;&#x2F;steamcommunity.com&#x2F;app&#x2F;375820&#x2F;discussions&#x2F;0&#x2F;481115363863361128&#x2F;" rel="nofollow">http:&#x2F;&#x2F;steamcommunity.com&#x2F;app&#x2F;375820&#x2F;discussions&#x2F;0&#x2F;481115363...</a><p>- <a href="https:&#x2F;&#x2F;www.rockpapershotgun.com&#x2F;2015&#x2F;11&#x2F;09&#x2F;best-programming-games&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.rockpapershotgun.com&#x2F;2015&#x2F;11&#x2F;09&#x2F;best-programming...</a>
ptrptrover 8 years ago
Can&#x27;t recomend enough Human Resource Machine! by World of Goo creator <a href="http:&#x2F;&#x2F;2dboy.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;2dboy.com&#x2F;</a> it&#x27;s Android&#x2F;iOS game teaching some basic programing concepts. Fun and good looking.
评论 #13569438 未加载
评论 #13567071 未加载
评论 #13567034 未加载
j3c0over 8 years ago
A similar post on Halite.io listing some interesting games:<p><a href="https:&#x2F;&#x2F;halite.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;halite.io&#x2F;</a> <a href="http:&#x2F;&#x2F;vindinium.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;vindinium.org&#x2F;</a> <a href="http:&#x2F;&#x2F;theaigames.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;theaigames.com&#x2F;</a> <a href="http:&#x2F;&#x2F;www.rpscontest.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.rpscontest.com&#x2F;</a> <a href="https:&#x2F;&#x2F;www.codingame.com&#x2F;home" rel="nofollow">https:&#x2F;&#x2F;www.codingame.com&#x2F;home</a> <a href="https:&#x2F;&#x2F;leekwars.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;leekwars.com&#x2F;</a> <a href="http:&#x2F;&#x2F;russianaicup.ru&#x2F;" rel="nofollow">http:&#x2F;&#x2F;russianaicup.ru&#x2F;</a> <a href="http:&#x2F;&#x2F;dev.generals.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dev.generals.io&#x2F;</a><p>Link to the post: <a href="http:&#x2F;&#x2F;forums.halite.io&#x2F;t&#x2F;other-ai-contests&#x2F;925" rel="nofollow">http:&#x2F;&#x2F;forums.halite.io&#x2F;t&#x2F;other-ai-contests&#x2F;925</a>
ungzdover 8 years ago
I&#x27;m not sure if such games can help to learn programming. For example, Robocode is very dynamics-based and requires knowledge of control theory (which involves partial differential equations) and decision making under uncertainty. I&#x27;m doing software development for almost 10 years and yet such games are too hard for me. These games can help you to learn &quot;AI&quot; but not programming. It&#x27;s simpler to create your own Robocode game from scratch than to master creating bots for it.
评论 #13567592 未加载
评论 #13567066 未加载
评论 #13567848 未加载
评论 #13567918 未加载
RKoutnikover 8 years ago
While it isn&#x27;t technically a game about programming, I&#x27;d add an honorable mention for Factorio - a game that, at its core, is about software engineering. In it, you build an ever-growing and ever-more-complex factory. You can choose to throw something together quickly because you need steel NOW (and pay for the technical debt later) or take your time to orchestrate the perfect layout only to discover that&#x27;s not what you wanted in the first place.<p><a href="https:&#x2F;&#x2F;www.factorio.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.factorio.com&#x2F;</a><p>Great game, highly recommended for anyone in software.
skibzover 8 years ago
Does it count if the games use languages or systems that are unavailable outside of the game? (Shenzhen I&#x2F;O for instance)
评论 #13566465 未加载
abetuskover 8 years ago
Surprised Code Combat [1] isn&#x27;t on the list. I think it&#x27;s also completely free&#x2F;open source [2].<p>[1] <a href="https:&#x2F;&#x2F;codecombat.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codecombat.com&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;codecombat&#x2F;codecombat" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codecombat&#x2F;codecombat</a>
sharkbotover 8 years ago
I just picked up WarioWare DIY for my Nintendo (3)DS. It&#x27;s got a pretty rudimentary rules engine to script the microgames, but some of the tricks you can pull using some clever triggers and stage setup reminded me of the best programming puzzles.<p>In my mind, it&#x27;s the closest we&#x27;ll get to a mainstream Piet programming environment :)
d33over 8 years ago
There used to be this game called Colobot, pretty fun:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Colobot" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Colobot</a><p>Now it&#x27;s open source: <a href="https:&#x2F;&#x2F;github.com&#x2F;colobot&#x2F;colobot" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;colobot&#x2F;colobot</a>
ktzarover 8 years ago
I find that list to be missing Elevator Saga <a href="http:&#x2F;&#x2F;play.elevatorsaga.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;play.elevatorsaga.com&#x2F;</a>
d13over 8 years ago
I actually stopped playing games when I learnt how to code... coding is more fun!
anstover 8 years ago
Do not forget codingame.com.
评论 #13566886 未加载
评论 #13567936 未加载
jhgjkljover 8 years ago
The problem with games to teach coding is coding is not a game. Almost 95% of the time its exactly opposite to games. Uninteresting, boring and a test for grit.
评论 #13568375 未加载
评论 #13568536 未加载
评论 #13571824 未加载
xevb3kover 8 years ago
I was hoping for a list of games which teach programming. These are more games or competitions that use programming (which is still pretty fun, but different).
al2o3crover 8 years ago
If this is mostly looking for &quot;real-world languages&quot;, I&#x27;d recommend Ruby Warrior (<a href="https:&#x2F;&#x2F;www.bloc.io&#x2F;ruby-warrior&#x2F;#&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.bloc.io&#x2F;ruby-warrior&#x2F;#&#x2F;</a>)<p>For in-game-only languages, pretty much everything from Zachtronics.
13yearsover 8 years ago
I have a list I have been keeping here. <a href="https:&#x2F;&#x2F;github.com&#x2F;dakaraphi&#x2F;development-resources&#x2F;blob&#x2F;master&#x2F;README.md#game-based-learning" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dakaraphi&#x2F;development-resources&#x2F;blob&#x2F;mast...</a>
jevogelover 8 years ago
Screeps - an MMO where you program resource-gatherers with Javascript or other languages. I haven&#x27;t actually played it, but it sounds like a cool idea.<p><a href="https:&#x2F;&#x2F;screeps.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;screeps.com&#x2F;</a>
david-givenover 8 years ago
What, no Else Heart.Break()?<p>It&#x27;s a game set in a world where you can hack pretty much any object and fiddle with its source code. Yes, just as weird as it sounds. Want to get into a locked room? You can either hack a key to try all possible combinations at once, so it&#x27;ll open any door. Or it might be easier to just hack a door somewhere else to point at the locked room...<p><a href="http:&#x2F;&#x2F;elseheartbreak.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;elseheartbreak.com&#x2F;</a><p>Also, it has a great soundtrack.
npongratzover 8 years ago
When I get a chance, I&#x27;ll write up a PR for Crobots:<p><a href="http:&#x2F;&#x2F;tpoindex.github.io&#x2F;crobots&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tpoindex.github.io&#x2F;crobots&#x2F;</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10331849" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10331849</a>
110011over 8 years ago
By far the most interesting game in this genre (somewhat broadly interpreted) is Robozzle. Some of the puzzles made by contributors there are just pure genius.
westmealover 8 years ago
Popping in here to mention Spacechem as one of the best.
ComodoHackerover 8 years ago
The Corewars section is duplicated.
brennankreimanover 8 years ago
robocode taught me javascript way back in elementary school!
gobrover 8 years ago
sad that stockfighter is not on this list anymore.
评论 #13567934 未加载
sjammerover 8 years ago
Nice