Hacker News new | ask | show | jobs
by CuriouslyC 65 days ago
This is similar to how I evolved the AI for my game Hexborne (Think X-Com meets Magic: The Gathering). I had agents designing sets of behavioral heuristics for bots (as "genes"), then enter them into 10k+ match tournaments in an iterative process. After each tournament agents could inspect all the heuristics and try to craft updated heuristics to improve their performance. Winning heuristics got a full statistical validation before being rolled into the baseline set that all agents build on top of.

To multitask I did all this over a multiplayer game server to harden the netcode and ferret out softlocks.

1 comments

It’s amazing how people with AI are discovering classic techniques for balancing games (i.e. Monte Carlo methods, genetic algorithms…), but somehow implementing them way less efficiently, and without mathematical rigor, basically just having an LLM do the work of deterministic math functions.
You're being presumptuous, I explicitly was explicitly thinking of a GA when I set this up, and how is it inefficient when the AI reduces the number of non-viable policies (and thus the number of wasted simulations) by multiple orders of magnitude compared to randomized policy generation?
You can reduce the amount of non viable policies without AI, for the price of electricity.

Even if you don’t, the purely randomized policies approach will still be order of magnitudes cheaper.

…what makes you think people are implementing them less efficiently? I’d be inclined to agree with you but your reply reeks of “no true Scotsman” strawman arguments that it’s hard to take it seriously.
There's a lot of information in this world. It's fun stumbling on that information sometimes. For me personally, it makes learning much easier and gradual, than reading about something from a book or LLM answers.
Someone hasn't seen xkcd 1053 recently enough