Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
Nicoletta
on 01/12/2017, 19:57:50 UTC
well almost
Code:
basebet=0.00000001
nextbet=basebet
chance=49.5

highCount=0
lowCount=0
previousbetBackup=basebet

function dobet()

if highCount >= 2 then
bethigh = false
nextbet = balance * 0.1
chance=99.0
else
if lowCount >= 2 then
bethigh = true
nextbet = balance * 0.1
chance=99.0
else
chance=49.5

if win then      
  nextbet = basebet
else  
  nextbet = previousbetBackup*2
end

previousbetBackup = nextbet
end
end

if lastBet.Roll > 99 then
highCount = highCount+1
else
highCount = 0
end

if lastBet.Roll < 1 then
lowCount = lowCount+1
else
lowCount = 0
end
end
it looks like it waits one bet before the correct bet i do not know why?
anyone knows why after 2 bets i am looking it does 3rd bet on 49.5% and then it does the 99% bet instead o directly after?