boardgamers / gaia-engine

Javascript engine for project gaia
MIT License
13 stars 6 forks source link

needIncomeSelection should be automated #221

Closed zeitlinger closed 3 years ago

zeitlinger commented 3 years ago

I'm wondering if needIncomeSelection can be automated.

Intuitively, I'd say yes - is there any counter-example?

coyotte508 commented 3 years ago

You mean that there is always an optimal choice for the order between adding tokens and charging power?

I don't think so. Imagine you have 0/3/0, and +4pw / +2t.

You can end up with either:

In some cases, 2/0/3 is better, in other, 0/1/3 is better. I don't think it can be automated in this example.

ghost commented 3 years ago

In this example the player would be asked, but in other cases it could become automatic

for example the player has 0/2/0, and +2pw / +2t

he could end up with either

ghost commented 3 years ago

if the Player is Itars or Taklons the Player can be asked each time, if he want add or charge Tokens first

ghost commented 3 years ago

Also there could be an option for the player, if he wants his income to be automatic or if he wants to get asked each time. In automatic mode put as many tokens in area 3 as possible unless power charges would be wasted.

coyotte508 commented 3 years ago

Yes there are cases when it can be automatic, a simple one is when all the power tokens are in area 3.

ghost commented 3 years ago

the Brainstone could become automatic as well if the Player wants to.

zeitlinger commented 3 years ago

the Brainstone could become automatic as well if the Player wants to.

added #226 for this.