Skip to content
mattsc edited this page Sep 19, 2012 · 13 revisions

Welcome to the Wesnoth-AI-Demos wiki!

Here's a short description what the AI currently does: AI Strategy Narrative

CA Debugging description


Other than that, this page simply contains mattsc's raw, unformatted and uncommented todo list:

Grunt Rush Freelands:

  • Trapping
  • Village Holding Strategy
  • attack_enemy_leader (see test_code.cfg)
  • all_attacks:
    • XP
    • level-up-attacks
  • retreat:
    • toward lesser_threat villages
    • to safe place other than villages
  • exclude injured units from attacks
  • wolf pillaging on left safer
  • take over enemy keep
  • relative rating of rushes, villages, poison
  • refine recruiting
    • Counter-recruit! Buy recruits that are a good response to the enemy's recruits.
  • undead
  • Try blocking enemies from villages
  • Attack strategic targets; if you can do more damage than enemy
  • Also go for village in SE
  • Deal with petrified units
Grunt rush:
  • Go thru Freelands
    • Clean up
    • Functions for common code
    • Generalize
  • Grunt Rush:
    • Take bits from Freelands
Other:
  • Micro AIs
    • Healer
    • Leader
    • Poisoner
    • Protect unit/location (see Grnk_2 Lizards)
    • Annoying AI (grab targets and avoid fights as much as possible)
    • Hunter AI (e.g. wolves)
    • Bottleneck defense
    • Orderly retreat
All:
  • tabs; trailing spaces
  • max_score
Clone this wiki locally