-
Notifications
You must be signed in to change notification settings - Fork 1
AI algorythm
Néstor edited this page Jul 28, 2023
·
8 revisions
- Red team, green team
- Line of sight
- Three unit types: infantry, cavalry, archers
- Stats: life, speed, strength, attack range, defense, price
- States: idle, attack and objective, flee, hide (hiding is complicated)
- Units are independent, but communicate with each other
- Team orders (indicated in a bubble with an icon/text):
- Look here!
- Help me!
- Run away!
- Run!
- Come here!
- Calculate the number of enemy units, compare it with allies:
- More friends: attack
- More enemies: run away, hide (hiding is complicated)
- When one unit hits another unit, they make noise. Then, all the units that are near turn to look.