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(); start_game(); function start_game() { var risky_bet = Math.floor((Math.random() * 100) + 1); if(restart == 1){ if (risky_bet < risky_bet_chance) { $('#bet').val(1.5*bigBet);