// Bet: #1
var betList = [5,22,110,550,700,1400,2800,5600,0] // In bits.
var cashoutList = [1.08,1.25,1.25,1.25,2,2,2,2,1000000] // CashOut
////////\\\\\ Edit Over this line only \\\\////////////
var index = 0
var bet = betList[index]
var cashout = cashoutList[index]
var start = true
var crash = 0
var checkCrash = cashout
var skip = false
while(start){
// Play bet.
if(bet > 0){
const { multiplier } = await this.bet(bet * 100, cashout)
this.log('Placing Bet')
// Result.
if(multiplier < cashout){ // On Loss
this.log('Last game was lost')
index++
if(index < betList.length){
bet = betList[index]
cashout = cashoutList[index]
}else{
this.log('next bet is not defined ... cannot bet')
}
}
else{ // On Win
this.log('Last game was Win')
index = 0
bet = betList[index]
cashout = cashoutList[index]
}
}else{
const { multiplier } = await this.skip()
crash = multiplier
// Result.
if(multiplier < cashout){ // On Loss
this.log('Last game was lost , but we were not betting')
index++
if(index < betList.length){
bet = betList[index]
cashout = cashoutList[index]
}else{
this.log('next bet is not defined ... cannot bet')
}
}
else{ // On Win
this.log('Last game was Win , unluckily we had won but bet is Zero')
index = 0
bet = betList[index]
cashout = cashoutList[index]
}
}
}