site web / color pref

Discussions about BGA (all languages)
Forum rules
Warning: challenging a moderation in Forum = 10 days ban
More info & details about how to challenge a moderation: viewtopic.php?p=119756
Locked
User avatar
Abraham fr
Posts: 7
Joined: 06 April 2014, 11:30

site web / color pref

Post by Abraham fr »

hello :)
I do not understand how the prefered colors as picked up.
Let's go to an example :
https://boardgamearena.com/9/lagranja?table=161872095
Player A (Abraham) has a color pref of blanc gris rose noir
(white gray pink black)
Player B (Mamiso90)
vert jaune gris blanc
(green yellow gray white)
and the game was played as
player A green (player B first pref !!!! absolutely NOT in player A choice)
player B yellow (second pref)

Why not
player A first pref = white
player B first pref = green ?
MoiMagnus
Posts: 356
Joined: 17 March 2020, 20:15

Re: site web / color pref

Post by MoiMagnus »

As far as I know, colours are chosen in player order, so the fact that green was the favourite colour of player B is irrelevant for the choice of colour of player A.

So let's look at player A preference: white gray pink black
None of them are available (available colours: blue, red, green, yellow), so there is an algorithm that tries to determine which of the available colour is the best match. The choice of green looks quite dubious here IMO, but I guess that since this green is a light green and not a dark green, it ends up mathematically closer to white than the other colours, hence considered the best match.
User avatar
Abraham fr
Posts: 7
Joined: 06 April 2014, 11:30

Re: site web / color pref

Post by Abraham fr »

You lost me there....

OK for a choice player after player.

But were do you get the color choice ?
(available colours: blue, red, green, yellow)

Why offer preferences for colors not avaiable ?

the mystery get deeper..... :oops:
User avatar
coxy5
Posts: 56
Joined: 06 June 2016, 17:48

Re: site web / color pref

Post by coxy5 »

Some games have set colours depending on what comes in the box. Hence why only four colours are available for la granja.
User avatar
paramesis
Posts: 398
Joined: 28 April 2020, 05:00

Re: site web / color pref

Post by paramesis »

BGA game developers don't have access to the implementation of the function that assigns player colors from preferences, but the feature is documented here: http://en.doc.boardgamearena.com/Main_g ... references

Some important things to note: available player colors vary by game, and this feature cannot add a new player color to a game that doesn't already support it. In your example, La Granja doesn't have white as an available player color, so it will try to match one of the game's existing colors (red, green, blue, yellow), with one of your preferences if possible. There are other games, such as Troyes or Amyitis that do have a white player color, for which that preference would work.

As MoiMagnus suggested, the algorithm does seem to support colors that are not an exact match, such as accepting a light blue for blue, but it is otherwise not very sophisticated. It will assign colors for one player at a time. If there is no preference, or none matches the available colors in the game, the color will be assigned randomly. This is not ideal, because the color randomly assigned might just happen to be another player's first choice.

The order this happens appears to be random, as can be seen in this suggestion report, where the player third in turn order was the second to be assigned a color, and happened to get the first choice of the player who was second in turn order.
https://boardgamearena.com/bug?id=33125
MoiMagnus
Posts: 356
Joined: 17 March 2020, 20:15

Re: site web / color pref

Post by MoiMagnus »

Abraham fr wrote: 09 April 2021, 21:07 But were do you get the color choice ?
As said by others, I've looked at the rulebook of La Granja and searched for the 4 available colours in the IRL game.
If the IRL game has colours associated to each player, the BGA game uses the same colours.
If the IRL game does not, the BGA game uses the set of BGA colours (the one you can see in your preferences).
User avatar
Abraham fr
Posts: 7
Joined: 06 April 2014, 11:30

Re: site web / color pref

Post by Abraham fr »

That clarify it ! :)
Thanks a lot for your deteilled answers.
Locked

Return to “Discussions”