----falling upward (moonshot)
chance = 88.88
base = 0.00000001
moon = 0.00000001
nextbet = base
losecount = 0
target = balance*1.3
moonshot = false
maxbet = balance/5
function dobet()
if nextbet >= maxbet then stop() end
if balance > target then stop() end
A = math.random(100)
if A <= 35 then
bethigh = false
print "bet low"
end
if A >= 65 then
bethigh = true
print "bet high"
end
print " "
print " losecount "
print (losecount)
print " "
print "-----------------"
print "max bet"
print (maxbet)
print "-----------------"
if win then
resetseed()
nextbet = base
chance = math.random(8900, 9000) / 100
losecount = 0
else
nextbet = previousbet*1.36
losecount+=1
end
if (math.random(1,14)==7) then
nextbet = moon
chance = 0.7
print "@@@@@@@@@@@@@@@@@@@@"
print "moon shot"
print "@@@@@@@@@@@@@@@@@@@@"
moonshot = true
else
moonshot = false
end
if (losecount >= 1) then
nextbet = previousbet*1.31
chance = (math.random(1555,1888)/100)
end
if (losecount >= 4) then
nextbet = previousbet*1.45
chance = (math.random(2011,2444)/100)
end
if (losecount >= 7) then
nextbet = previousbet*1.57
chance = (math.random(2550,2950)/100)
end
if (losecount >= 11) then
nextbet = previousbet*1.69
chance = (math.random(3150,3450)/100)
end
if (losecount >= 16) then
nextbet = previousbet*1.81
chance = (math.random(3500,4000)/100)
end
if (losecount >= 18) then
nextbet = previousbet*2
chance = (math.random(4000,4500)/100)
end
if (losecount >= 19) then
nextbet = previousbet*2.11
chance = (math.random(4500,5000)/100)
end
if (losecount >= 20) then
nextbet = previousbet*2.77
chance = 55.5
end
end
end
Congratulations @dopeshot! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 20 posts.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out the last post from @hivebuzz:
Dear @dopeshot,
Your support for the current HiveBuzz proposal (#199) is much appreciated but the proposal will expire soon!
May we ask you to review and support the new proposal so our team can continue its work?
You can support the new proposal (#248) on Peakd, Ecency,
Thank you!