by ProjectArcturis · 1y ago · 0 comments
That really ruins the 'real' game and creates this sort of meta layer where you're specifically aiming to compete against these cheat bonuses rather than actually playing the game. It'd be analogous to a really weak chess AI trying to create the facade of challenge by randomly giving itself a new pawn every 2 turns, a a knight every 5 turns, and a rook every 20.
In most strategy games, rule-based AI is easier to author, contextualize, and theme. Players usually prefer AI agents with memorable and varied traits instead of excellent high autonomy (complex utility, HTN, ML) AI. They like evident strategy more than complex strategy. Smarter and harder AI sounds appealing on paper, but it’s often less fun for most players who want a predictable, beatable opponent.
High-fidelity human-level opponent AI is only really appreciated in eSports, where it serves a training purpose. However, eSports people have fun in an aim trainer—they are not the “normal” gamer.
Most people want “really weak chess” and wouldn't enjoy hard or complex chess. They like game AI opponents acting in simple and vulnerable patterns they can outsmart and feel clever. And the more they dominate the agents by learning them, the more they like the game. Even if they say they don't, the user testing shows they do. The cheat bonuses that are super easy to win against are probably intentional :)
There is also another reason for building simple game AI — the illusion of intelligence is not created by complexity but rather by anthropomorphization/personification. It's the same as with LLMs — the big breakthrough was when they started speaking like humans, and all further complications aren't adding much to the broad and intuitive feeling of their intelligence. Similarly, a game AI agent that tells you what they are thinking achieves more perceived intelligence than an AI agent that is actually more intelligent. With this in mind, game developers don't waste much time on deep intelligence. This time is better used making agents bark, animate, display human reactions, show context awareness, etc. It is very much about the agents being showhorses, not workhorses.
I say this from pretty long AAA game AI design and architecting experience. It’s wiser to do what Firaxis did.
If it were possible to create a superhuman fair playing AI then the Civ bonuses themselves would create personality (in fact often strongly related to the desired personality characteristics of each civ!) even without additional 'hard coded' imperatives, which would of course also be possible.
And in this scenario create a compelling weaker AI would be much easier than trying to create a compelling strong AI (from a very weak base). There will need to be some 'move' evaluator function and simply picking weaker 'moves' would so fine. If that creates uncompelling AI then we could get back to cheating and impose resource penalties, but with much more compelling play. E.g. - kind of like playing a strong chess engine with knight odds.
Look up different game AI architectures: scripted, rule-based, finite state machines, behavior/decision tree, utility, planning, hierarchical task networks, and machine learning. Hard-coded imperatives are very difficult on highly autonomous architectures, as is complex systemic behavior in authored ones. Consider how hard it is to make an autonomous AI system like ChatGPT implement one simple hard imperative: not revealing the system prompt.
Weak AI and strong AI are ambiguous terms. Most junior-level software engineers can create very complex gameplay systems if you're talking about complexity. It’s much harder to build simple ones that effectively create the illusion of intelligence on limited hardware. If you are talking about difficulty, then challenging AI is no harder to make than easy AI. Usually, game designers will naturally create hard AI as they play the game so much they become experts, and player testing is used to make it easy again.
As you describe it, the move evaluator is a utility function approach that is neither very authorable/personable nor very autonomous. It is pretty limiting on both fronts, so it’s rarely used. A simple rule-based approach is more straightforward to balance and personalize for each agent/archetype. And difficulty scaling or balancing the game differently doesn’t require what you propose. They just chose not to do the balancing you want.
There’s nothing wrong if you prefer a utility approach. We all have our preferences, and I like some pretty clever AI systems like GOAP that aren’t always a good fit for games like Civ. They are cool and smart systems but players rarely respond better to them than simple FSMs or rule-based game AI, which are easier to author. The utility approach is somewhere in the middle and could also be made context-specific with enough separate utility functions the agent would evaluate. But it is so much more work than to define simple if-then rules. :)
The AI certainly does tell you what it's thinking: "Duuuuhhhhhhhhhhh"
It's set entirely in the ancient time period instead of having multiple ages, which I find this to be a strength since units and technologies remain relevant throughout the entire game. Also, ethical sales practices: the base game is very complete and DLC only adds small changes unlike most games in this genre (looking at you Paradox). The game's also on GOG, which itself is a green flag in several ways.
The developers are active daily on all support channels (Discord, Steam, forums etc). I've seen people attach saves asking for help, and a dev always respond a couple hours later in great detail.
Civ also does everything you mentioned - ie their units will flank and retreat. Is the AI markedly better than Civ?
It has a lot more going on than Civ (1 turn in OW is equivalent to about 3 turns of Civ), but somehow it's a lot more polished. There's a free demo, feel free to try it. It's often on deep discount as well. It has a 200 page manual. I find that skimming a manual gives me a good feel for a game before I play it.
https://drive.google.com/file/d/1hb4dmDKxpf3pJJtpdFA4y4OOY-d...
The lead designer is Soren Johnson, who was also the lead designer for Civ 4, so if you liked that particular iteration you might like OW.
People looking for novel strategy gaming generally just go online, and those people are such a small minority of users it wouldn't make much sense to develop the game around their preferences. It would be interesting if an AI could be trained on ingesting data from multiplayer and single player games to come up with novel strategies, but the training costs probably exceed the total value of the market for any particular game.
Civ IV was interesting in that it patched its AI across multiple expansions based on playtesting and user feedback. The AI in IV is generally predictable, but it doesn't fall for a lot of cheap feints that you might expect because of this.
I always thought there might be some model that could support development like this - something like the season pass model, where the same game gets updated with novel content every year. Minecraft does this for free, FIFA does it every year by retailing what is effectively the same game with updated content, and Fortnite operates a traditional season pass. Microsoft has kind of done this by revamping some old titles like Age of Empires II, but the only studio I can think of that operates on this model is Paradox. That does get expensive though - Crusader Kings II with all of its expansions retailed for around $250 USD. Not bad for a game you play over the course of years (comparable to many MMORPGs), but a lot to pay for a game all at once.
(I've not seen the original game, dunno what they did for that).
Not only they turned Civ6 into a board game for PC, they equipped it with extremely dumb AI which can be easily beaten even at the highest difficulty level.
Now I'm looking at the gameplay of Civ7 on youtube and no way I'm buying it. Maybe I'll play Civ5 when I feel nostalgic.
I'm sure there's a community where they build alternative enemy computer players though. And else there's always online multiplayer, but that's not for everyone.
Civ's multiplayer is traditionally very poor (frequent crashes, desyncs etc), which is a big reason why there's such demand for good AI, moreso than other games.
But there was a significant issue with this: the AI was terrible at moving units and armies. It'd get confused by the smallest congestion. The AI would build a large army, and then be incapable of moving it anywhere.
The AI can still have personality and roleyplay instead of attempting to win, and yet be a competent strategist and tactician.
This isn't a case where the AI is meant to have "authored personality" or whatever.
I much more strongly suspect it was "we're going to hire one person to do the work of three" and the result was "get it working as quick as I can".
That’s certainly what it looks like. When I first tried the game, before getting a refund shortly after, my first thought was “wtf, did they accidentally ship an old build?”. The UI feels so u finished, lacking feedback and visual clarity.