const sounds = { hitBlock: new SoundManager('assets/hit_block.wav'), hitCoin: new SoundManager('assets/hit_coin.wav'), hitBall: new SoundManager('assets/hit_ball.wav'), roundOver: new SoundManager('assets/round_success.wav'), gameOver: new SoundManager('assets/game_over.wav'), }; let coinCount = 0; const container = document.getElementsByClassName('container')[0]; const game = new Game(container); game.start(); function onGameOver() { }