sample


SUBMITTED BY: leratolavish

DATE: June 1, 2016, 3:22 p.m.

FORMAT: Text only

SIZE: 1.1 kB

HITS: 1174

  1. stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
  2. maxWait = 500, // In milliseconds
  3. stopped = false,
  4. stopBefore = 3; // In minutes
  5. var $loButton = $('#double_your_btc_bet_lo_button'),
  6. $hiButton = $('#double_your_btc_bet_hi_button');
  7. function multiply(){
  8. var current = $('#double_your_btc_stake').val();
  9. var multiply = (current * 2).toFixed(8);
  10. $('#double_your_btc_stake').val(multiply);
  11. }
  12. function getRandomWait(){
  13. var wait = Math.floor(Math.random() * maxWait ) + 100;
  14. console.log('Waiting for ' + wait + 'ms before next bet.');
  15. return wait ;
  16. }
  17. function startGame(){
  18. console.log('Game started!');
  19. reset();
  20. $loButton.trigger('click');
  21. }
  22. function stopGame(){
  23. console.log('Game will stop soon! Let me finish.');
  24. stopped = true;
  25. }
  26. function reset(){
  27. $('#double_your_btc_stake').val(startValue);
  28. }kdjkjf,dhfksljdfnmjdhjfdlfkdsknhgerih
  29. // qui

comments powered by Disqus