Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
543 B
3
Indexable
Never
071294d693902bc3576759dbf7429776758019bffb55f5dc9fbe2dcb6e81d3f9-dd2fddb264f95f45b057c7ad8bac1679c6d31645cc97af4e58f8136124019c57

hurried racial punishment



const baseBet = 100
const target = 50
const betMultiplier = 1.050
let lossCount = 0
while (true) {
  const { multiplier } = await this.bet(betSize(lossCount), target)
  if (multiplier < target) {
    lossCount++
  } else { // win
    lossCount = 0
  }
}
 
function betSize(lossCount) {
  const bet = baseBet * Math.pow(betMultiplier, lossCount)
  return Math.round(bet / 100) * 100
}
Leave a Comment