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

Pick distribution on the board #17

Open Joi179 opened 5 years ago

Joi179 commented 5 years ago

Splitting the AI's picks on both sides of the board (both area's) WZ Areas

will keep ths up to date once we started to test the picks fully. hard to think out of my head what all the problems could be

Joi179 commented 5 years ago

It should work this way. If there are only 0FTB and 0Combo / 1FTB / 1Combo / 1CounterFTB /1FTB and 1Combo / 2Combo / 2FTB / 1FTB 1CounterFTB it will obbey this rule and distribute the rest of the picks in a way that is 1/2 - 3/4/5/6 (in the first 4 cases) and in the last 3 either 1/2 - 3/4/5/6 OR 1/2/3/4 - 5/6 OR 1/2/4/5/6 - 3 this depending on where the FTB's / Combo's are located themself. it will overwrite "scores" if it is necessary of the "distribution".

In A Case that was not mentioned above it will completly disregard "Distribution" and pick simply whats told and whats not told go for the highest score

this is still up to change.

JustinReiter commented 5 years ago

Can look into implementing this. In the case of no bonuses or ftb it will very simple. After that I will need to look into changing code for how picks are reordered and will thus be a very long change.