Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
sree6020
on 05/01/2018, 06:16:27 UTC
no it doesn't reset to 1 sat high always.Instead it follows the bet direction(high or low) of the previous bet if it was a win .And if that was a loss it keeps on switching direction and doubling the bet amount.

Ok... I edited the code... it will now ONLY switch High/Low on a loss... if it wins, it will continue High or Low (the same as the previous winning bet).

Code:
basebet = 0.00000001
chance = 47.5 -- Freebitcoin has 2.5% HouseEdge!!?!
bethigh = true

nextbet = basebet

function dobet()

  if win then
    nextbet = basebet
  else
    nextbet = previousbet * 2
    bethigh = !bethigh
  end

end



thankyou HCP