Skip to content

Instantly share code, notes, and snippets.

@mydicebot
Last active April 2, 2020 07:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mydicebot/a442b6e668cdc55c0b2597bc836d3791 to your computer and use it in GitHub Desktop.
show safe sample #MyDiceBot#
basebet=0.01
nextbet=0.01
bb= 0.01
bb6= 0.02
pbet= 0.00000001
pbet3= 0.00000001
pb3= 1
pb= 1
pbb3= 0
pbb= 0
nb= 0
chance= 62
function dobet()
if pbb3 == 1 then
pbb3=0
end
if pbb == 1 then
pbb=0
end
if win and chance == 38 then
pb3=1
pbb3=1
else
if chance == 38 and pbb3 == 0 then
pb3=0
end
end
if win and chance == 62 then
pb=1
pbb=1
else
if chance == 62 and pbb == 0 then
pb=0
end
end
if chance == 62 and pb == 0 then
pbet=pbet*3
else
if chance == 62 and pb == 1 then
pbet=bb6
end
end
if chance == 38 and pb3 == 0 then
pbet3=pbet3*1.7
else
if chance == 38 and pb3 == 1 then
pbet3=bb
end
end
if chance >= 62 then
chance=38
nb=1
bethigh=true
else
chance=62
nb=2
bethigh=false
end
if nb == 1 then
nextbet=pbet3
nb=2
else
if nb == 2 then
nextbet=pbet
nb=1
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment