0% found this document useful (0 votes)
15 views2 pages

Jsvalidate Js

The document outlines a betting configuration for a dice game, including parameters such as maximum bet, wait time, and desired balance. It features a function to roll the dice, adjust betting strategies based on current balance, and manage winning conditions. Additionally, it includes a toggle function for betting high or low, and logs relevant information during gameplay.

Uploaded by

yanmikhlin34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Jsvalidate Js

The document outlines a betting configuration for a dice game, including parameters such as maximum bet, wait time, and desired balance. It features a function to roll the dice, adjust betting strategies based on current balance, and manage winning conditions. Additionally, it includes a toggle function for betting high or low, and logs relevant information during gameplay.

Uploaded by

yanmikhlin34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

bconfig = {

maxBet: 0.0002200,
wait: 1000,
autoexit: 0.00001,
want: 0.000014,
toggleHilo:true,
startbal: 0,
won: 0,
};
hilo = 'hi';
multiplier = 1;
rollDice = function() {

if ($('#double_your_btc_bet_lose').html() !== '') {


$('#double_your_btc_2x').click();
multiplier = 1;
if(bconfig.toggleHilo)toggleHilo();
} else {
$('#double_your_btc_min').click();
multiplier = 1;
}

if (parseFloat($('#balance').html()) <
(parseFloat($('#double_your_btc_stake').val()) * 2 ||
parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet))
{
console.log($('#double_your_btc_min'));
};
if (parseFloat($('#balance').html()) < bconfig.autoexit) {
throw "exit";
}

if (parseFloat($('#balance').html()) > bconfig.want) {


var num = parseFloat($('#balance').html());
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
bconfig.won++;
var total = num - bconfig.startbal;
console.log('Setting bconfig want to: ' + bconfig.want);
console.log('Setting autoexit to: ' + bconfig.autoexit);
console.log('Total won: ' + total + ' BTC');
}

$('#double_your_btc_bet_hi_button').click();

setTimeout(rollDice, (multiplier * bconfig.wait) +


Math.round(Math.random() * 1000));
};

toggleHilo = function() {
if (hilo === 'hi') {
hilo = 'hi';
} else {
hilo = 'hi';
}
};
var num = parseFloat($('#balance').html());
bconfig.startbal = num;
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
rollDice();

You might also like