function checkReadyState() {
	if (game.gameOverAudio.readyState === 4 && game.backgroundAudio.readyState === 4) {
		window.clearInterval(game.checkAudio);
		document.getElementById('loading').style.display = "none";
		game.start();
	}
}
/**
 * Ensure the game sound has loaded before starting the game
 */
Ensure the game sound has loaded before starting the game
Ensure the game sound has loaded before starting the game
function checkReadyState() {
	if (game.gameOverAudio.readyState === 4 && game.backgroundAudio.readyState === 4) {
		window.clearInterval(game.checkAudio);
		document.getElementById('loading').style.display = "none";
		game.start();
	}
}
function checkReadyState ( ) { if ( game . gameOverAudio . readyState === 4 && game . backgroundAudio . readyState === 4 ) { window . clearInterval ( game . checkAudio ) ; document . getElementById ( 'loading' ) . style . display = "none" ; game . start ( ) ; } }
Ensure the game sound has loaded before starting the game
Ensure the game sound has loaded before starting the game