0% found this document useful (0 votes)
39 views3 pages

Var Gamelost Frs21000

This document contains code for a game that involves betting and multiplying rewards points. It tracks variables like the number of games won and lost, current win/loss streak, starting balance, and maximum bet. The code contains functions for starting the game, stopping the game, resetting values, binding buttons to trigger actions on win or loss, and multiplying the reward points stake and balance over multiple rounds.

Uploaded by

Vola Fauris
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)
39 views3 pages

Var Gamelost Frs21000

This document contains code for a game that involves betting and multiplying rewards points. It tracks variables like the number of games won and lost, current win/loss streak, starting balance, and maximum bet. The code contains functions for starting the game, stopping the game, resetting values, binding buttons to trigger actions on win or loss, and multiplying the reward points stake and balance over multiple rounds.

Uploaded by

Vola Fauris
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/ 3

var gameLost=0, cLost=0, gameWin=0, cWin=0, maxBet=0;

var startValue = "100,000,000", //reward points


stopPercentage = 5, maxWait = 100, stopped = false,
stopBefore = 1;

var start_multiplier = 'reward points'; //??


var repeatCurrent;

var a = $("#reward points").text(),


UX = ((Number(a)-0.00025000) / 160 ).toFixed(8),
b = $("#double_your_btc_stake").val(),
UX2 = (Number(b*5)).toFixed(8);
UX3 = (Number(b*2)).toFixed(8);
var $loButton = $("#double_your_reward points"), $hiButton = $("#double_your_reward
points");
var $multiplier = $('#double_your_reward points_multiplier');
var startbalance=0;

function multiply() {
repeatCurrent++; //

var n = 1;

var balance = parseFloat( $("#balance").text() ) || 0;


if( balance ){
if( balance <= 100.1 ){
n = 1;
}
}

//---------- ??1?? ------------


if( n == 1 ){
if( repeatCurrent == 7 ){ //
reset();
return $hiButton;
}
if( repeatCurrent == 1 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('2');
return $hiButton;
}
if( repeatCurrent == 2 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('4');
return $hiButton;
}
if( repeatCurrent == 3 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('6');
return $hiButton;
}
if( repeatCurrent == 4 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('8');
return $hiButton;
}
if( repeatCurrent == 5 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('10');
return $hiButton;
}
if( repeatCurrent == 6 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('4');
return $hiButton;
}
if( repeatCurrent == 7 ){
$("#double_your_reward points_stake").val('100,000,000');
$multiplier.val('5');
return $hiButton;
}
function getRandomWait() {
var wait = Math.floor(Math.random() * maxWait) +200; // ????
console.log("Waiting for " + wait + "ms before next bet.");
a = $("#balance").text(),
UX = ((Number(a)-0.00025000) / 160 ).toFixed(8),
b = $("#double_your_btc_stake").val(),
UX2 = (Number(b*5)).toFixed(8);
UX3 = (Number(b*2)).toFixed(8);
return wait;
}

function startGame() {
startbalance = $("#balance").text();
console.log("Game started!");
reset();
$hiButton.trigger("click");
}

function stopGame() {
console.log("Game will stop soon! Let me finish.");
stopped = true;
}

function reset(multiplier) {
repeatCurrent = 0;
$multiplier.val( start_multiplier );
$("#double_your_btc_stake").val(startValue);
}

$("#double_your_btc_bet_lose").unbind();

$("#double_your_btc_bet_win").unbind();

var balance_prev = parseFloat( $("#balance").text() ) || 0;

$("#double_your_btc_bet_lose").bind("DOMSubtreeModified", function(event) {
if ($(event.currentTarget).is(':contains("lose")')) {
if($("#double_your_btc_stake").val() > maxBet){ maxBet = $
("#double_your_btc_stake").val();}
gameLost = gameLost + 1;
cLost = cLost + 1;
cWin = 0;
console.clear();
console.log('%c???: ' + gameWin + ' ???: ' + gameLost, 'color: #FF0000');
console.log('%c??: ' + cWin + ' ??: ' + cLost, 'color: #FF0000');
console.log('%c??: ' +(Number($("#balance").text()) -
Number(startbalance)).toFixed(8) , 'color: #FF0000');
console.log('%c????: ' + maxBet, 'color: #FF0000');
console.log('?????151??');

console.log('??(?)100????');

console.log('??(?)10????');
var btn = multiply();

// ?
var balance_current = parseFloat( $("#balance").text() );
if( balance_prev ){
// ?????7??,?????
if( balance_prev - balance_current >= 0.01){
setTimeout(function() {
balance_prev = balance_current;
//btn.trigger("click");
startGame();
}, 1000 * 60 * 1440 ); // 1000??1?*60?*1?=????
}else{
setTimeout(function() {
}, getRandomWait());
}

}else{
balance_prev = balance_current;
setTimeout(function() {
btn.trigger("click");
}, getRandomWait());
}
});

startGame();

You might also like