Post
Topic
Board Gambling discussion
Re: Bustabit.com Provably Fair Seeding Event
by
Saint-loup
on 10/09/2020, 19:28:45 UTC
Sorry if posting at wrong place, I can move the post

I read a post from 2018 I think that said the version 2 of bustabit will not crash anymore at 1.00, today in 2020 it does crash frequently at 1.00, so this part of V2 was chaged?

I also read that Should the game crash at 0x, all bets will be refunded which also does not seems to be the case today.

So why are things different than they were described in this forum in the past?

Thanks for any clarification
As you can see in the provably fair algorithm
R = 99 / (1-X) with X uniformly distributed on [0;1]
R is then divided by 100 to get the crash multiplier but only the MAX between 1 and R/100 is taken.
That means every time X is =< 0.01 you will get a crash multiplier equal to 1.
eg : 99/(1-0.01)=100

Code:
  // 3. X = r / 2^52
  let X = r / Math.pow(2, nBits) // uniformly distributed in [0; 1)

  // 4. X = 99 / (1-X)
  X = 99 / (1 - X)

  // 5. return max(trunc(X), 100)
  const result = Math.floor(X)
  return Math.max(1, result / 100)