Part
Difficulty
You might say: challenge, AI strength, difficulty setting
The challenge envelope around the opponent: how well it plays, what help it receives, how quickly it reacts, and whether the game adjusts the pressure.
- What it does
- Makes the opponent demanding without making its wins feel arbitrary or its losses feel patronising.
- Ask
- Which lever changes the player's decisions, and can the player tell why the match became harder?
- Trouble
- Only hidden bonuses make the opponent stronger, or a sudden adjustment makes the player feel the result was scripted.
What to look for
- A named difficulty badge in setup
- Different enemy opening pressure at the same game start
- A challenge indicator that changes during play
Parts
- Difficulty levels: A named ladder of presets that bundles behavioural quality, reaction limits, information and material advantages.
- AI bonuses and handicaps: Extra resources, starting assets or information granted to the AI instead of changing its decision code.
- Reaction time: The delay before the AI can respond to new information and the limit on how many actions it can issue in a time window.
- Dynamic difficulty adjustment: Changing the opponent or its surrounding conditions during play in response to evidence about the player's current performance.
- Deliberate mistakes: Plausible errors chosen by a strong opponent to create openings, vary its play or keep the contest within reach.
- Win rate: The share of completed matches the AI wins over a defined opponent group, version or difficulty setting.
- Rubber-band loop: A balancing loop reads the gap in performance, adjusts challenge or advantage, and gives the trailing side a route back into contention.
Sources
- Kevin Dill, What Is Game AI?, p. 1
Game AI should be about one thing and one thing only: enabling the developers to create a compelling experience for the player.
- 2K Games, Sid Meier's Civilization VI Manual, p. 19, Game Difficulty
The game difficulty determines a number of things, including the starting power of your AI opponents, the speed at which your civilization grows, and so forth.
- Soren Johnson, Playing to Lose: AI and Civilization (GDC 2008), Introduction
I highlighted the difference between “good” AI and “fun” AI
Use it on your project
teardown-apply: hold "Difficulty" (difficulty) from the teardown at https://teardownatlas.com/game-ai/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal