Hacker News new | ask | show | jobs
by glial 2683 days ago
While we're all complaining about the state of current games, what I really want is for games (especially RTS games, but really any game) to come with an API so I can build and test AIs. For example, I love the game Planetary Annihilation (I played its predecessor Total Annihilation a ton as a kid). But after a few dozen games, I began to think 'I wonder if I could just encode my strategy as a policy' - not even deep-RL necessarily, just a set of rules. But I can't even try because they don't have an API :(
2 comments

If you're into RTS, Starcraft 2 is basis for a bunch of research and has an API available - see https://github.com/deepmind/pysc2 or a tutorial for getting started https://njustesen.com/2018/01/16/getting-started-with-the-st...

DOTA had also decent API links as far as I recall.

Also, there's a lot of research on older games, see https://github.com/openai/retro for interfacing with NES/SNES/GBA/etc games.

Here, here.

QuakeC enabled the community to demonstrate the possibility of good AI in 3d shooters in the late 90's. It spawned an era of popular titles being programmable. Some of those early bot authors went on to become lead programmers of further games, why did they forget their origins?

It does help a game to live beyond its years -- many previous games could become popular again with community AI improvements, and I'm not comfortable applying binary patches and they're not very portable either..