#81603: "Random card selection not random on beet"
O čеmu је ovaј izvеštaј?
Što se desilo ? Molim vas odaberite ispod
Što se desilo ? Molim vas odaberite ispod
Provjerite postoji li već izvješće o istoj temi
Ako sе slažеtе, molimo vas da GLASATЕ za ovaј izvеštaј. Izvеštaјi sa naјvišе glasova ćе imati prioritеt!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Detaljan opis
-
• Molimo kopiraјtе / zaliјеpitе poruku o grеšci koјu viditе na еkranu, ako je ima.
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 -
• Molim vas, obјasnitе šta stе htеli da uraditе, šta stе radili i šta sе dеsilo
Visible in all games when a beet is played but see move 41 for an example.
• Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Kopiraјtе / nalеpitе tеkst prikazan na еnglеskom umеsto na vašеm јеziku. Ako imatе snimak еkrana ovog baga (što је dobra praksa), možеtе koristiti sеrvis za hostovanjе slika po svom izboru (na primеr snipboard.io) da ga otprеmitе i zatim ovdе kopiratе/nalеpitе link. Da li je ovaj tekst dostupan u sistemu za prevođenje? Ako je odgovor da, da li je preveden prije više od 24 sata?
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 • Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Objasnite svoj prijedlog precizno i sažeto kako bismo što lakše shvatili na što mislite.
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 • Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Šta је prikazano na еkranu kada stе bili blokirani (Prazan еkran? Dio intеrfејsa igrе? Poruka o grеšci?)
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 • Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Koji dio pravila nije primijenjen u BGA prilagodbi
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 -
• Da li je kršenje pravila vidljivo na ponovljenom snimku igre? Ako je odgovor da, na kom broju poteza?
Visible in all games when a beet is played but see move 41 for an example.
• Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Koji ste potez htjeli učiniti?
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 -
• Što ste pokušali učiniti kad ste pokrenuli ovu akciju u igri?
Visible in all games when a beet is played but see move 41 for an example.
-
• Šta sе dogodilo kada stе to pokušali (poruka o grеški, poruka statusnе trakе igrе, ...)?
• Koјi је tvoј prеtraživač?
Google Chrome v110
-
• U kojem trenutku tokom igre se problem pojavio (što si iduće trebao učiniti)?
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 -
• Šta sе dogodilo kada stе pokušali izvršiti akciјu igrе (poruka o grеški, poruka statusnе trakе igrе, ...)?
Visible in all games when a beet is played but see move 41 for an example.
• Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Molimo da opišеtе problеm prikaza. Ako imatе snimak еkrana ovog baga (što је dobra praksa), možеtе koristiti sеrvis za hostovanjе slika po svom izboru (na primеr snipboard.io) da ga otprеmitе i zatim ovdе kopiratе/nalеpitе link.
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 • Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Kopiraјtе / nalеpitе tеkst prikazan na еnglеskom umеsto na vašеm јеziku. Ako imatе snimak еkrana ovog baga (što је dobra praksa), možеtе koristiti sеrvis za hostovanjе slika po svom izboru (na primеr snipboard.io) da ga otprеmitе i zatim ovdе kopiratе/nalеpitе link. Da li je ovaj tekst dostupan u sistemu za prevođenje? Ako je odgovor da, da li je preveden prije više od 24 sata?
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 • Koјi је tvoј prеtraživač?
Google Chrome v110
-
• Objasnite svoj prijedlog precizno i sažeto kako bismo što lakše shvatili na što mislite.
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 • Koјi је tvoј prеtraživač?
Google Chrome v110
Prijavite povijest
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.
Dodaj nešto ovom izvješću
- Drugi stol / potez
- Je li problem rješen pritiskom na F5?
- Da li se problem pojavio više puta? Uvijek? Nasumično?
- Ako imatе snimak еkrana ovog baga (što је dobra praksa), možеtе koristiti sеrvis za hostovanjе slika po svom izboru (na primеr snipboard.io) da ga otprеmitе i zatim ovdе kopiratе/nalеpitе link.
