Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
wasek
on 07/03/2021, 12:45:27 UTC
Code:
chance     =
multiplier =
base       = 0.00000010
seedreset = false
function dobet()
if win then
nextbet=base
bethigh = !bethigh
else
nextbet=previousbet*multiplier
end
 if seedreset then
    if lastBet.nonce > 1 then
      -- nonce not reset
      stop()
    else
      -- nonce reset, continue
      seedreset = false
    end
  end
  if (lastBet.nonce % 70) == 0 then
    resetseed()
    seedreset = true
  end
end
Don't forget to put your chance and multiplier value in!

every roll

Resetting Seed!
Betting 0.0000004 at 48% chance to win, high
Resetting Seed!
Betting 0.0000001 at 48% chance to win, low
Resetting Seed!