You are on page 1of 2

var rolls_played = 0;

var skip = 0;
var no_of_loss = 0;
var counter_list = [];
var limit = 17;
var balance_one = document.getElementById("balance2").innerHTML.substr(0, 10);
var bet_amount = 0.098785262;
var bet_amount_list = [0.00000001, 0.00000002, 0.00000002, 0.00000003, 0.00000005,
0.00000008, 0.00000011, 0.00000017, 0.00000026, 0.00000038, 0.00000058, 0.00000086,
0.00000130, 0.00000195, 0.00000292, 0.00000438, 0.00000657, 0.00000985];
document.getElementById("double_your_btc_stake").value = bet_amount;
document.getElementById("double_your_btc_payout_multiplier").value = 2.5;

function client_seed() {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";

for (var i = 0; i < 128; i++) {


text += possible.charAt(Math.floor(Math.random() * possible.length));
}

document.getElementById("next_client_seed").value = text;
}

function Random_integer(min, max) {


return Math.floor(Math.random() * (max - min + 1)) + min;
}

function Bet() {
document.getElementById('double_your_btc_bet_lo_button').click();
}

function play() {
if (document.getElementById('double_your_btc_bet_hi_button').disabled === false)
{
if (skip == 0) {
won = document.getElementById('double_your_btc_bet_win').innerHTML;

if (won.match(/(\d+\.\d+)/) !== null) {


counter_list.push(1);
no_of_loss = 0;
document.getElementById("double_your_btc_stake").value = 0.00000001;
}

lost = document.getElementById('double_your_btc_bet_lose').innerHTML;

if (lost.match(/(\d+\.\d+)/) !== null) {


counter_list.push(0);
no_of_loss += 1;

if (no_of_loss > limit) {


document.getElementById("double_your_btc_stake").value =
bet_amount_list[no_of_loss - 1];
skip = 1;
}
}
} else {
skip = 0;
}
Bet();
}

rolls_played += 1;

if (rolls_played % 100 === 0) {


console.log("Rolls played: " + rolls_played);
console.log("Balance: " + document.getElementById("balance2").innerHTML);
console.log("Counter list: " + counter_list);
}
}

setInterval(play, 1000);

You might also like