JustinReiter / WarLight.AI

AI used for the game Warzone, located at https://www.warzone.com. See how to use this project at the WarLight blog at https://www.warlight.net/blog/index.php/2016/02/the-warlight-ai-goes-open-source/
4 stars 1 forks source link

Planning an Attack #20

Open Joi179 opened 5 years ago

Joi179 commented 5 years ago

The AI should plan the following things: A-from [Main Income Area] to [Opponent Main Income Area] fastest route B-from [Main Income Area] to [Opponent Main Income Area] fastest route leading to a double border C-from [Sub Income Area] to [Opponent Main Income Area] fastest route D-from [Sub Income Area] to [Opponent Main Income Area] fastest rout leading to a double border

It should go for the fastest route. If "A" and "C" are taking the same amount of time it should go for "A" If the double border route only takes 1 turn longer it should go for that. If "B" and "D" are taking the same amount of time it should go for "B"