Roll

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

var rolls_played = 0;

var skip = 1;
var no_of_loss = 0 ;
var counter_list = [];
var limit = 21;
var balance_one = document.getElementById("balance2").innerHTML.substr(0, 10);
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]; // change
this for higher or low
document.getElementById("double_your_btc_stake").value = 0.00000001;
document.getElementById("double_your_btc_payout_multiplier").value = 4 ;

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 =
0.00000001;
skip = 1;
balance_one =
document.getElementById("balance2").innerHTML.substr(0, 10);
no_of_loss = 0;
console.log("Start");

console.log(document.getElementById("balance2").innerHTML.substr(0, 10));
}
else {
document.getElementById("double_your_btc_stake").value =
0.00000001;
}
}

client_seed();

Bet();

else {

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];
}
else {
document.getElementById("double_your_btc_stake").value =
0.00000001;
console.log("Loss");
no_of_loss = 0;
}
}

client_seed();

Bet();

balance_two = document.getElementById("balance2").innerHTML.substr(0,
10);

profit = balance_two - balance_one ;

if (profit >= 0.00002500){


skip = 0;
no_of_loss = 0;
console.log("Profit");
console.log(document.getElementById("balance2").innerHTML.substr(0,
10));
}

if (profit <= -0.00010000){


clearInterval(auto_bet);
console.log("Stop");
console.log(counter_list.toString());
}

}
}
}

var auto_bet = setInterval(play, 700); // play faster

You might also like