var sbet = 0.00000001, // საწყისი ბეთი
stopp = 0.001,
delaymin = 300, // დაკლიკების შორის დროის მინიმუმი
delaymax = 500, // დაკლიკების შორის დროის მაქსიმუმი
stopa = 100, // თამაში შეჩერდეს N წუთის შემდეგ
pause = 0.5, // თამაში შეჩერების შემდეგ გაგრძელდეს N წუთის შემდეგ
stopb = 3, // თამაში შეჩერდეს N წუთით ადრე ვიდრე BTC აგროვება მოხდება
profitmax = 0.0001, // მაქსიმალური გამომუშავების მოგება
profitmin = -0.00001, // მაქსიმალური გამომუშავების წაგება
balance = 0,
profit = 0,
working = 0,
working2 = 0,
rollcount = 1,
loseroll = 0,
resetbet = false,// ბეთის საწყისზე დაბრუნება მაქსიმალური წაგების დროს
multi = 2, // გამრვლების კოეფიციენტი
payout = 2, // PAYOUT 1,01 - 4750
maxlose = 8, // მაქსიმალური ზედიზედ წაგების რაოდენობა.
waitmeplay = true,
resumeaw = true, // თამაშის გაგრძელება როდესაც ხელით თამაშის დროს მოიგებ
canimultiply = true, // გავაორმაგო ბეთი ავტომატურად? true - კი, false - არა
stop = false,
stopaw = false,
consoleclear = true,
countmaxlosenum = 0,
n = 6;
var $loButton = $('#double_your_btc_bet_lo_button'),
$hiButton = $('#double_your_btc_bet_hi_button');
$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
function clearcodes(p) {
consoleclear = p;
}
function tofix8(n) {
return parseFloat(n).toFixed(8);
}
function stopgaw() {
stopaw = true;
console.log("თამაში დასრულდება შემდეგ მოგებაზე");
}
function fms(ms) {
ms /= 1000;
if (ms < 1) return ms + " წამი";
else if (ms <= 60) return Math.round(ms) + " წამი";
else if (ms <= 3600) return Math.round(ms / 60) + " წუთი";
else return Math.round(ms / 3600) + " საათი";
}
function tms(e) {
var n = parseInt(e % 1e3 / 100),
r = parseInt(e / 1e3 % 60),
t = parseInt(e / 6e4 % 60),
a = parseInt(e / 36e5 % 24);
return a = 10 > a ? "0" + a : a, t = 10 > t ? "0" + t : t, r = 10 > r ? "0" + r : r, a + ":" + t + ":" + r + "." + n
}
function reset() {
balance = tofix8($('#balance').text());
...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.