所有案件
海塩折紙 的案件
#74202: "Please randomize cards for shark draws"
rejected: 開發者認為這並非好主意,或投資報酬率過低
1
這是關於哪方面的案件?
發生什麼事? 請從下方選擇
建議:依我所見,有些調整將大幅增進遊戲完成度
細節描述
• 請簡明精確地解釋你的建議,以便讓人一目了然。
When player A plays a SHARK + SWIMMER combo, player B's cards should be randomized for the draw. It makes no sense for the cards to be sorted by type: no real-life player would keep all his mermaids on the right side and all his sharks on the left for the other player to pick exactly what they need. Yet when I steal from my opponent and I know they have a shark/swimmer, I click on their left-most card (as I see them) and voila! I have their shark/swimmer in my hand. Mermaids and other "points-only" cards (penguins, shells, lighthouse etc.) will be toward the right. People who know this have an advantage over newer players and it makes the game unfair.• 你的瀏覽器是什麼?
Mozilla v5
案件沿革
2022年10月20日 23:52 •
thoun • 開發者認為這並非好主意,或投資報酬率過低:
2022年10月21日 0:15 • It is random, in fact the card you click is never sent to the server ;) you can check the code if you doubt, you're not the first
OutOfHabit • 開發者認為這並非好主意,或投資報酬率過低:
2022年11月 2日 4:39 • Why do we even have have to select a card? I get selecting a player, but should not have to pick a card.
And should be automatic for 2-player games
And should be automatic for 2-player games
This1KidTaylor • 開發者認為這並非好主意,或投資報酬率過低:
I noticed my most powerful cards are getting stolen more often than others so the players at my table tested and it seems true. The game automatically sorts the highest value cards to the top of your hand so anytime your opponents steal, all they have to do is steal the first card in the stack to get your best card.
2022年11月12日 13:58 • I noticed my most powerful cards are getting stolen more often than others so the players at my table tested and it seems true. The game automatically sorts the highest value cards to the top of your hand so anytime your opponents steal, all they have to do is steal the first card in the stack to get your best card.
applegummy • 開發者認為這並非好主意,或投資報酬率過低:
2022年11月28日 19:36 • I agree with this report, when I click on the right most card of the other players hand and I know they have a mermaid, I have noticed I will likely get a mermaid and vice versa. Please look into this even if this shouldn't be the case as it's getting replicated
Lou_00 • 開發者認為這並非好主意,或投資報酬率過低:
2022年12月14日 16:20 • I agree, I am experiencing exactly the same issue. If I know that my adv. has a mermaid, I need to clic on the right card of his hands to be sure I'm stealing the mermaid.
ccllaauuddiiaa • 開發者認為這並非好主意,或投資報酬率過低:
2022年12月30日 20:01 •
2023年 1月 5日 19:52 • I agree with the other players, I recognized this as well, especially in tournament
Otithes • 開發者認為這並非好主意,或投資報酬率過低:
2023年 1月 5日 21:52 • It is NOT random. Mermaids tend to be on the right; the first card taken by the opponent tends to be on the left; random picks tend to give you whatever card the other player took last; and so on. I don’t know how it works, but experienced players are exploiting this and it breaks the game.
thoun • 開發者認為這並非好主意,或投資報酬率過低:
2023年 1月 5日 21:55 • Please check the code source, or simply the request sent to the server, if you don't trust my answer
thoun • 開發者認為這並非好主意,或投資報酬率過低:
2023年 1月 5日 22:52 • Here is an image of the network call you'll see when you steal, if you open F12 to network tab. As you can see, only the player id is sent, no cardId or card order. Do the test yourself if you don't trust me, or check the source code on my github (github.com/thoun)
imgur.com/a/Xg9J3Vi
imgur.com/a/Xg9J3Vi
Pricantora • 開發者認為這並非好主意,或投資報酬率過低:
2023年 1月19日 19:32 •
2023年 1月19日 19:36 • Stealing should be of a random card after choosing the player you want to steal from. Don't let us choose a card!! My opponent can tell the order of my cards, therefore, it does not mimic the real game.
silkkii • 開發者認為這並非好主意,或投資報酬率過低:
2023年 9月 4日 22:31 • I checked the source code, relevant line here:
$card = $cardsInHand[bga_rand(1, $cardsNumber) - 1];
Isn't the function bga_rand(min, max) and card numbers go from 0 onwards? by starting from card number 1, it would always omit first card in that players hand, no?
So in case player you steal from has 2 cards, it would always pick the second card no matter what, unless I'm missing something here (like first card being special or card numbers starting from 1 instead of 0 - but then that -1 would omit the last card on that players hand instead).
$card = $cardsInHand[bga_rand(1, $cardsNumber) - 1];
Isn't the function bga_rand(min, max) and card numbers go from 0 onwards? by starting from card number 1, it would always omit first card in that players hand, no?
So in case player you steal from has 2 cards, it would always pick the second card no matter what, unless I'm missing something here (like first card being special or card numbers starting from 1 instead of 0 - but then that -1 would omit the last card on that players hand instead).
thoun • 開發者認為這並非好主意,或投資報酬率過低:
2023年 9月 4日 22:34 •
2023年 9月 4日 22:41 • There is a - 1 after bga_rand, so same result as writing $cardsInHand[bga_rand(0, $cardsNumber - 1)];
thoun • 開發者認為這並非好主意,或投資報酬率過低:
2023年 9月 4日 22:49 • I made the same mistake the first time I checked my code after this bug report :) I don't remember why I wrote it this way, but it's still correct.
magroco • 開發者認為這並非好主意,或投資報酬率過低:
2024年 5月27日 18:06 • Everytime my mermaid got stolen, so there is no fun to play it when you know you lost your powerful cards that easy
nenptuk9Jtr • 開發者認為這並非好主意,或投資報酬率過低:
2024年 7月31日 22:24 • Shuffling the cards visually with a quick animation would help the non-technical people understand the concept of RNG a bit better.
Speaking about server-side and client-side calls would only help a fraction of a percent of the people who feel the need to open threads such as this one.
Speaking about random numbers will not help the people who insist on using www.dictionary.com/browse/anecdata to discuss the general behavior of a program.
Speaking about server-side and client-side calls would only help a fraction of a percent of the people who feel the need to open threads such as this one.
Speaking about random numbers will not help the people who insist on using www.dictionary.com/browse/anecdata to discuss the general behavior of a program.
Rebexus • 開發者認為這並非好主意,或投資報酬率過低:
2024年12月 3日 16:32 • Even if it is random how does the mermaid get picked much more often than any other card?
blockmonoid • 開發者認為這並非好主意,或投資報酬率過低:
2025年 3月13日 17:40 • Seriously. I have mermaids stolen from my hand over 50% of the time. And this happens regularly out of a hand of 5+ cards. It does not seem random to me.
I'm looking at the code quoted above:
$card = $cardsInHand[bga_rand(1, $cardsNumber) - 1];
I understand the discussion above about the card numbering starting at 0 and why the -1 makes 0 possible. I see a potential bug with the max, however. If I have 2 cards in my hand, what is the value of $cardsNumber? Is it 2 or 1? If the value is 2, then everything works as it should. But if the value is 1 (because the programmer who wrote $cardsNumber was taking into account that the card numbering starts at 0), then your $card code would always produce 0 for a 2 card hand. That would explain why mermaids got selected more often.
I'm looking at the code quoted above:
$card = $cardsInHand[bga_rand(1, $cardsNumber) - 1];
I understand the discussion above about the card numbering starting at 0 and why the -1 makes 0 possible. I see a potential bug with the max, however. If I have 2 cards in my hand, what is the value of $cardsNumber? Is it 2 or 1? If the value is 2, then everything works as it should. But if the value is 1 (because the programmer who wrote $cardsNumber was taking into account that the card numbering starts at 0), then your $card code would always produce 0 for a 2 card hand. That would explain why mermaids got selected more often.
為本案件添加內容
任何可能重現這項錯誤或了解你的建議之相關資訊,都請在此填寫:
- 其他同樣狀況的桌號/步數
- 按 F5 是否解決了這個問題?
- 問題是否發生了好幾次?每次都發生?時好時壞?
- 建議將此錯誤的螢幕截圖上傳到 Imgur.com 並轉貼連結。