One player got the best drops three times in a row: luck or a bug?
People notice streaks and complain, but a streak of some length is expected in a long enough run of fair draws. This entry shows how to work out how likely a streak of that size really is before you touch the loot code.
Why this works
People judge a streak at one spot, but a long record has thousands of spots where one could start, so streaks are bound to show up somewhere. Working out how likely a run that long is across the whole record tells you whether the complaint is normal luck or something odd.
When not to use it
It only checks fair random draws. If your game gives loot by need, by turns or by points, a streak can be intended and this tells you nothing. A very small chance is a reason to look at the code, not a verdict; check how eligible players were counted first.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 32 lines of example code with 4 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "One player got the best drops three times in a row: luck or a bug?" (read_entry is-this-loot-streak-luck-or-a-bug) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP