#81603: "Random card selection not random on beet"
Miről szól ez a jelentés?
Mi történt? Kérünk, válassz az alábbiakból
Mi történt? Kérünk, válassz az alábbiakból
Kérjük ellenőrizd, hogy nincs-e azonos tárggyal már jelentés!
Ha igen, kérjük SZAVAZZ erre a jelentésre! A legtöbb szavazattal rendelkező jelentéssel kiemelt PRIORITÁSSAL foglalkozunk
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Részletes leírás
-
• Kérjük másold be a hiba üzenetet, amit kaptál, ha volt ilyen.
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 -
• Kérjük mondd el, hogy mit szerettél volna csinálni, mit csináltál és mi történt
Visible in all games when a beet is played but see move 41 for an example.
• Milyen böngészőt használsz?
Google Chrome v110
-
• Kérjük, másold az angolul megjelenített szöveget, ahelyett, hogy lefordítanád a Te nyelvedre! Ha van erről a hibáról képernyőképed (ami ajánlott), bármilyen képfeltöltő oldalra feltöltheted (snipboard.io például) a feltöltéshez másold ki a linket és illeszd be ide. Létezik ez a szöveg a fordítási rendszerben? Ha igen, több mint 24 órája lett lefordítva?
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 • Milyen böngészőt használsz?
Google Chrome v110
-
• Kérjük magyarázd el a javaslatodat pontosan és tömören, hogy amennyire lehet, könnyen érthető legyen, mire is gondolsz!
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 • Milyen böngészőt használsz?
Google Chrome v110
-
• Mit láttál a képernyőn, amikor blokkolva lettél? (Üres képernyő? A játék felületének egy részét? Hiba üzenet?)
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 • Milyen böngészőt használsz?
Google Chrome v110
-
• A szabályok melyik részét nem vette figyelembe a BGA adaptá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 -
• Ez a szabály áthágása látható a visszajátszásban? Ha igen, melyik lépésszámnál?
Visible in all games when a beet is played but see move 41 for an example.
• Milyen böngészőt használsz?
Google Chrome v110
-
• Melyik játékbeli akciót akartad csinálni, amikor a hiba előjött?
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 -
• Mit akartál csinálni, hogy ezt a játékbeli akciót elindíthasd?
Visible in all games when a beet is played but see move 41 for an example.
-
• Mi történt amikor megpróbáltad ezt (hiba üzenet, játék státusz üzenet, ...)?
• Milyen böngészőt használsz?
Google Chrome v110
-
• A játék melyik lépésénél lépett fel a probléma? (mi volt a kiírt utasítás?)
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 -
• Mi történt amikor megpróbáltad ezt az akciót (hiba üzenet, játék státusz üzenet, ...)?
Visible in all games when a beet is played but see move 41 for an example.
• Milyen böngészőt használsz?
Google Chrome v110
-
• Kérjük, írd le a megjelenítési hibát! Ha van erről a hibáról képernyőképed (ami ajánlott), bármilyen képfeltöltő oldalra feltöltheted (snipboard.io például) a feltöltéshez másold ki a linket és illeszd be ide.
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 • Milyen böngészőt használsz?
Google Chrome v110
-
• Kérjük, másold az angolul megjelenített szöveget, ahelyett, hogy lefordítanád a Te nyelvedre! Ha van erről a hibáról képernyőképed (ami ajánlott), bármilyen képfeltöltő oldalra feltöltheted (snipboard.io például) a feltöltéshez másold ki a linket és illeszd be ide. Létezik ez a szöveg a fordítási rendszerben? Ha igen, több mint 24 órája lett lefordítva?
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 • Milyen böngészőt használsz?
Google Chrome v110
-
• Kérjük magyarázd el a javaslatodat pontosan és tömören, hogy amennyire lehet, könnyen érthető legyen, mire is gondolsz!
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 • Milyen böngészőt használsz?
Google Chrome v110
Bejelentés előzmények
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.
Hozzáadni valamit a jelentéshez
- Másik asztal ID / lépés ID
- az F5 megoldotta a problémát?
- Milyen gyakran jön elő a probléma? Minden alkalommal? Véletlenszerűen?
- Ha van erről a hibáról képernyőképed (ami ajánlott), bármilyen képfeltöltő oldalra feltöltheted (snipboard.io például) a feltöltéshez másold ki a linket és illeszd be ide.
