Closed akshualy closed 1 year ago
As mentioned in the discussion above, we can now see our win rate in the game-end overview.
It is worth noting that this doesn't immediately update upon losing since a game must end entirely to show up in the match history. This effectively means it's off by one game on average, which should be fine in the long run.
We likely won't be able to sustain anything much higher than 50% since Elo is a thing 😞 But at least now we know! 🎉
Description
Adds
wanted_traits
andpurchase_traits_in_prioritized_order
to the configuration. Documents both in the README and the config itself.wanted_traits
is a 1:1 replacement for the fieldWANTED_TRAITS
inconstants.py
.purchase_traits_in_prioritized_order
is a new configuration option that I thought would make sense. It makes the behavior configurable, in which currently, a trait in the list is only bought if the trait that comes before it was found. For example, at the moment, a brawler unit is only purchased if a duelist unit is bought.Addresses one of the tasks in #124.
Notes
Deletes the
Previous Patch
folder in the trait captures. If we need them, we can refer to git history.