diff options
Diffstat (limited to 'rules/en/ai.md')
| -rw-r--r-- | rules/en/ai.md | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/rules/en/ai.md b/rules/en/ai.md new file mode 100644 index 00000000..8ae75108 --- /dev/null +++ b/rules/en/ai.md @@ -0,0 +1,63 @@ +# AI + +## Concepts + +* The algorithms for the AIs should be as simple as possible +* They must be executable by human players with normal game materials +* They should not take much time +* Players want to play the game not execute the AI +* Decision making should most of the time rely on RNG +* We do not specify how the players implement their randomness + +## Units + +To execute a units AI the players follow the introductions in the AI logic +in descending order. +If no further steps can be executed the unit gets tapped. + +Any ambiguity is decided at random (multiple units in attack range, multiple most distant tiles, ...). +### Aggressive + 1. If enemy Unit in attack Range then + attack enemy Unit in Range + 2. While move action available do + move towards nearest enemy unit + if attack action avail then proceed at 1. + +### Shy + 1. If not in the attack Range of an enemy Unit then + activate full action if available + 2. If move action available then + move to most distant point from all enemy units + 3. If enemy Unit in attack Range then + attack enemy Unit in Range + +### Wandering X + 1. If enemy unit in Range X then + execute aggressive AI + 2. If move action available then + move to random tile in movement Range + proceed at 1. + +### Supportive + 1. Use full action if possible + 2. move towards nearest allied Unit + 3. If enemy Unit in attack Range + attack enemy Unit in Range + +## The Kraken + +Instructions for the opponent player in "The Kraken" game mode. + +### Turn structure + 0. (Shuffle discard pile into empty deck) + 1. Get #players * 5 Resource + 2. Upkeep: + 2.1 While sum of upkeep cost bigger than available resource + destroy random unit + 2.2 Pay all upkeep cost + 3. Actions: + 3.1 Draw a card + 3.2 If the card is playable then + play the card + proceed at 3.1 + 4. Discard the unused card |
