#81603: "Random card selection not random on beet"
De què tracta aquest informe?
Què ha passat? Si us plau, selecciona a sota
Què ha passat? Si us plau, selecciona a sota
Si us plau, comprova si ja existeix un informe sobre el mateix tema
En cas afirmatiu, si us plau VOTA per aquest informe. Els informes amb més vots tenen PRIORITAT!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Descripció detallada
-
• Si us plau, copia i enganxa el missatge d'error que veus a la pantalla, si és que n'hi ha algun.
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks -
• Si us plau, què volies fer, què vas fer i que va succeir
Visible in all games when a beet is played but see move 41 for an example.
• Quin és el meu navegador?
Google Chrome v110
-
• Si us plau, copieu/enganxeu el text mostrat en anglès en comptes del teu idioma. Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar un servei d'allotjament d'imatges de la teva elecció (per exemple, snipboard.io) per penjar-la i copiar/enganxar l'enllaç aquí. És aquest text disponible al sistema de traducció? Si és així, ha sigut traduït fa més de 24 hores?
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks • Quin és el meu navegador?
Google Chrome v110
-
• Si us plau, expliqueu el vostre suggeriment de manera precisa i concisa, per que sigui el més fàcil d'entendre possible.
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks • Quin és el meu navegador?
Google Chrome v110
-
• Què es mostrava a la pantalla quan estaves bloquejat (pantalla en blanc? Part de la interfície del joc? Missatge d'error?)
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks • Quin és el meu navegador?
Google Chrome v110
-
• Quina part de les regles no s'han respectat per l'adaptació de BGA
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks -
• És visible la violació de les normes durant la repetició de la partida? Si es així, en quin número de moviment?
Visible in all games when a beet is played but see move 41 for an example.
• Quin és el meu navegador?
Google Chrome v110
-
• Quina va ser l'acció del joc que volies fer?
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks -
• Què intentes fer per dur a terme aquesta acció del joc?
Visible in all games when a beet is played but see move 41 for an example.
-
• Què va passar quan ho vas intentar fer (missatge d'error, missatge de la barra d'estat de la partida, ...)?
• Quin és el meu navegador?
Google Chrome v110
-
• A quina fase del joc va passar l'error (quina era la ordre en curs)?
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks -
• Què va passar quan vas intentar dur a terme l'acció del joc (missatge d'error, missatge de la barra d'estat del joc, ...)?
Visible in all games when a beet is played but see move 41 for an example.
• Quin és el meu navegador?
Google Chrome v110
-
• Si us plau, descriviu el problema de visualització. Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar un servei d'allotjament d'imatges de la teva elecció (per exemple, snipboard.io) per penjar-la i copiar/enganxar l'enllaç aquí.
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks • Quin és el meu navegador?
Google Chrome v110
-
• Si us plau, copieu/enganxeu el text mostrat en anglès en comptes del teu idioma. Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar un servei d'allotjament d'imatges de la teva elecció (per exemple, snipboard.io) per penjar-la i copiar/enganxar l'enllaç aquí. És aquest text disponible al sistema de traducció? Si és així, ha sigut traduït fa més de 24 hores?
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks • Quin és el meu navegador?
Google Chrome v110
-
• Si us plau, expliqueu el vostre suggeriment de manera precisa i concisa, per que sigui el més fàcil d'entendre possible.
When a beet is played a random card is selected from yours and an opponent's hand. When the hand consists of all-but-one artichokes I have found that the remaining non-artichoke is selected far more often than random chance would suggest. For example with a hand containing 4 artichokes and 1 potato, random chance would expect the potato to be passed on only around 20% of occasions, whereas that happens much more regularly.
I initially assumed I just had bad luck but after a couple of hundred games it is clear that the mechanism is not functioning correctly. Without access to the backend I obviously cannot diagnose the issue however my suspicion is that the code is selecting a random type of card (rather than a random individual card) so in the above example of 4 artichokes and 1 potato the game is making a 50/50 choice between the two types of card. I suspect this may also be the case when a leek is played however as it selects from the face down discard pile it is less obvious.
Please investigate. Thanks • Quin és el meu navegador?
Google Chrome v110
Historial de denúncies
The code is open source, take look yourself:
github.com/0-wiz-0/bga-abandonallartichokes/blob/main/abandonallartichokes.game.php#L496
Here's the relevant part:
$opponent_hand = $this->cards->getPlayerHand($opponent_id);
...
$opponent_card = $this->cards->getCard(array_rand($opponent_hand, 1));
...
$hand = $this->cards->getPlayerHand(self::getActivePlayerId());
$card = $this->cards->getCard(array_rand($hand, 1));
I.e. all the cards in the hand of both players are taken as an array, and PHP's array_rand function is used to choose one element each.
Afegeix quelcom a aquest report
- Un altre ID de partida / ID de moviment
- Prémer F5 ha ajudat a arreglar el problema?
- El problema apareix diversos cops? Cada cop? a l'atzar?
- Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar un servei d'allotjament d'imatges de la teva elecció (per exemple, snipboard.io) per penjar-la i copiar/enganxar l'enllaç aquí.
