Algorithm for starting position?

Forum rules
Please DO NOT POST BUGS on this forum. Please report (and vote) bugs on : https://boardgamearena.com/#!bugs
Post Reply
User avatar
souly4
Posts: 95
Joined: 06 January 2018, 06:02

Algorithm for starting position?

Post by souly4 » 12 July 2019, 19:40

It would be interesting to know if this implementation is programmed this way that every color must subordinate to some rules in the starting position, like:

- x or more (at least x) of the color must be in the upper/bottom half
- x or more must be in the left/right half
- x or less must be connected at the very start, which would probably be the largest indicator of fairness
- x or less connected groups of one color exist at the start (or reverse, x or less isolated, depending on the approach)

I have for a very long time played with two colors each player anyway, once to mitigate the advantage in the occasional one-sided starting position, but especially because it's naturally much more interesting to me. And still every now and then you will hit just the two colors that seemingly are least favorable at the start.

User avatar
DrKarotte
Posts: 166
Joined: 22 September 2015, 23:42

Re: Algorithm for starting position?

Post by DrKarotte » 14 July 2019, 09:03

I cannot confirm anything about the implementation on BGA, but most likely it follows the rules of the game which state that there must not be connected groups of more than 5 pieces of one color (vertical and horizontal). In the real game the board consists of 10 separate rows, which you fill randomly and than place next to each other, changing positions until the said condition is met. If no combination works then you will probably start again with filling the columns.

User avatar
Een
Posts: 2249
Joined: 16 June 2010, 19:52

Re: Algorithm for starting position?

Post by Een » 14 July 2019, 11:11

Yes, that was some time ago but from memory in the code it's just random and start over if the rules conditions are not met.

Post Reply

Return to “Color Pop”