<h1>
განახლდა 2017 02 24 21:35
</h1>
<ul>
<li>playgame() - თამაშის დაწყება</li>
<li>stopgaw() - თამაში დამთავრდება შემდეგ მოგებაზე.</li>
<li>resume() - თამაშის გაგრძელება(არ განულდება დრო/გამომუშავება)</li>
<li>თამაშის ნებისმიერი მიზეზით გაჩერების დროს ჩაირთვება "ზარი" </li>
<li>მაქსიმალური ზედიზედ წაგების რაოდენობა არის უკვე ზუსტად ის რასაც ჩაწერ</li>
<li></li>
</ul>
<p>პარამატრები რომლების შეცვლა შეგიძლია ნახავ კოდის დასაწყისში. შეცვალე მხოლოდ ის რომელზეც მიწერილი მაქ ახსნა</p>
<p>როდესაც ამ კოდს ჩააგდებ თამაში დაიწყება 5 წამში. თუ გაჩერება გინდა გვერდი დაარეფრეშე ( F5 )</p>
<p>თამაშის პროცესში აბრუნებს პასუხებს. პასუხის ყველა პარამეტრი ბოლოს მომხდარ შედეგისგან.</p>
<p>["შედეგი", "0.00000000", "0.00000000", "0.00000000", N, N, "00:00:00"]
<ol>
<li>შედეგი > წაგება/მოგება</li>
<li>მიმდინარე ბალანსი</li>
<li>დადებული ფსონი</li>
<li>მიმდინარე გამომუშავება. ახლანდელს - საწყისი ბალანსი</li>
<li>ზედიზედ წაგებების რაოდენობა</li>
<li>რამდენჯერ მოხდა დაკლიკება</li>
<li>რამდენი ხანი გაგრძელდა თამაში საათი:წუთი:წამი</li>
</ol>
<p>
console ში რომ გადახვალ დაააჭირე "ძაბრს" ფილტრს ანუ და შემდეგ დააჭირე Logs.
</p>
<table border="1" cellpadding="5">
<tr>
<td>1</td>
<td>0.00000001</td>
<td>0.00000001</td>
</tr>
<tr>
<td>2</td>
<td>0.00000002</td>
<td>0.00000002</td>
</tr>
<tr>
<td>3</td>
<td>0.00000004</td>
<td>0.00000006</td>
</tr>
<tr>
<td>4</td>
<td>0.00000008</td>
<td>0.00000014</td>
</tr>
<tr>
<td>5</td>
<td>0.00000016</td>
<td>0.00000030</td>
</tr>
<tr>
<td>6</td>
<td>0.00000032</td>
<td>0.00000062</td>
</tr>
<tr>
<td>7</td>
<td>0.00000064</td>
<td>0.00000126</td>
</tr>
<tr>
<td>8</td>
<td>0.00000128</td>
<td>0.00000254</td>
</tr>
<tr>
<td>9</td>
<td>0.00000256</td>
<td>0.00000510</td>
...
JavaScript
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 = true,// ბეთის საწყისზე დაბრუნება მაქსიმალური წაგების დროს
multi = 1, // გამრვლების კოეფიციენტი
payout = 2, // PAYOUT 1,01 - 4750
maxlose = 3, // მაქსიმალური ზედიზედ წაგების რაოდენობა.
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.