boardgamers / gaia-engine

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

Custom federation mechanism for Ivits #94

Closed coyotte508 closed 6 years ago

coyotte508 commented 6 years ago

Do #34

coyotte508 commented 6 years ago

Because player.data.federations can include the terraforming federation (on last research tile of terraforming).

The ivits need to know the real numbers of federations built, because their federation cost depends on that. If I don't use federationCount, and the ivits get to the last tile of terraforming, they would need to use 14 VP instead of 7 for their first federation...

rzulian commented 6 years ago

But the rule states "where X is the number of federation tokens you own plus one", so if they get the terraforming one, they have to pay 7 more.

coyotte508 commented 6 years ago

The power values of the structures on those planets must bring the total power value of that federation to at least to 7X, where X is the number of federation tokens you own plus one (not including the federation token from level 5 of “Terraforming”).

rzulian commented 6 years ago

Right! What if we align federations tile with Adv tech and std tech? federationTiles: Array<{ tile: FederationTile, green: boolean, value: number}> = [];

rzulian commented 6 years ago

I'll add this info to the #64

coyotte508 commented 6 years ago

You can't put value in there, because there could be a case with two identical federation tiles, one used and one green.

But Array<{ tile: FederationTile, green: boolean}> is good!