zond / godip

A dippy adjudicator in Go.
GNU General Public License v3.0
27 stars 22 forks source link

Ensure that build option filters and phase messages about build orders conform to variant specifics #102

Closed zond closed 3 years ago

zond commented 4 years ago

Like variants that calculate builds differently

zond commented 4 years ago

Also, take possible build SCs into account

zond commented 4 years ago

After looking at this, I have reached the following conclusions:

@tttppp, @JorenC do you have opinions about this? I kind of don't want to throw hours at this problem, that seems to be only about people being told they can/should build more when they don't have any more home SCs available.

tttppp commented 4 years ago

I don't know the latest client behavior well enough really. We discussed that ideally the client should warn if orders don't satisfy certain conditions - e.g.

tttppp commented 4 years ago

In terms of build rules then I think we have three cases:

I think that they can all be covered with the same logic though.

zond commented 4 years ago

@tttppp I'm not sure I understand what you want (do we need to fix or implement something?), but to be clear: The only thing missing, as far as I could determine, was that the users sometimes (in a snackbar and in the orders view) were informed that they could/should build more units than they had free buildable home SCs for.

zond commented 3 years ago

This should be fixed in https://github.com/zond/godip/commit/3dea7874209c7d9c0d825c97c440bfa2e5c9dcc2