• Register
Post feature Report RSS Legions at War - AI

Creating the AI for legions at war was an interesting journey, as there are several ways the AI can analyse the trillions of possible layouts.

Posted by on

logo

AI

Creating the AI for legions at war was an interesting journey, as there are several ways the AI can analyse the trillions of possible layouts.

When to attack:

  1. Always attack first, no threat or ranking algorithms.
  2. Attack based on ranking and threat algorithms.
  3. Randomly attack.

When to move:

  1. Never move unto tiles that can be attacked.
  2. Move with backup.
  3. Randomly move.
  4. Move based on threat and victory algorithms.

When to use abilities or change combat stance:

  1. Based on threat and victory algorithms.
  2. Random

new2

By offering the player a tweakable AI, it encourages the creation of extremely interesting and challenging layouts. The AI has been structured to allow the player to change different behavioral stats of the AI, when creating a game.

screen3

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: