You are on page 1of 2

//Update february 2017 : I am working on a GUI and Auto increase betting system

//COMMAND//
//changeBet() ex: changeBet('0.00000009');
console.clear();
var startbalance = 0;
var stopAt= '?';
var round = 0;
var gameLost=0;
var gameWin=0;
var higherbet=0;
startbalance = $('#balance').text();
var startValue = '0.00000001', // Don't lower the decimal point more than 6x of
current balance
stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.09
maxWait = 500, // In milliseconds
stopped = false,
stopBefore = 3; // In minutes
var oldbet= 0.00000001;
document.getElementById("advertise_link_li").innerHTML = '<a href="#"
onclick="startGame()" class="advertise_link">START BOT</a>';
var $loButton = $('#double_your_btc_bet_lo_button'),
$hiButton = $('#double_your_btc_bet_hi_button');
function higherBet(){
console.log('Highest bet: '+higherbet);
}
function changeBet(bet){
startValue=bet;
}
function realtime(time) {
var sec_num =parseInt(time, 10) ; // don't forget the second param
var hours = Math.floor(sec_num / 3600);
var minutes = Math.floor((sec_num - (hours * 3600)) / 60);
var seconds = sec_num - (hours * 3600) - (minutes * 60);
if (hours!=0) {hours = hours+' Hours ';} else{hours = '';}
if (minutes!=0) {minutes = minutes+' Minutes ';}
else{minutes = '';}
if (seconds < 10) {seconds = seconds;}
var time = 'Playing time = '+hours+minutes+seconds+' Secondes';
return time;
}
function roundnumb(){
console.clear();
if( round == stopAt)
{
stopGame()
}
else
{
round = round + 1;
console.log('Round #' + round + ' / ' + stopAt);

You might also like