Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
Bitcoiner_cph
on 03/09/2016, 09:53:11 UTC
Is there a way to reset the labouchere(win) function??


Code, something like this, what to insert at ##reset ??##??:


---

function dobet()

bal = balance

if maxbal == nil then maxbal = 0.00000001 end

oldmaxbal = maxbal

maxbal = math.max(bal, oldmaxbal)

if balance < maxbal*2/3 then ##reset ??##end

nextbet = labouchere(win)


end

---

Please help...

L