in case the bot will click a bomb, bet will be adjusted on the next round to compensate the loss. the bot will set the bet again to the original value on the next next round.*/ var bigBet = bet/.039; bigBet = Math.ceil(bigBet); var risky_bet_chance = 0; /* click sequence interval in milliseconds. equivalent to 2 seconds. You can change it to longer than 2 seconds but please don't change it to a lower value because it can messed up the timings if you have a slow internet. If you have a very slow internet connection, I recommend setting it up to 3 seconds or higher. */ var interval = 1500; var restart, tile1, timeout1, timeout2, timeout3; // force the difficulty to 1 mine at the start of the game. $('.quarter').first().find('button').click();