This will ensure the user has interacted with the page before the game starts, thus allowing the sound to play correctly. It doesn't re-load the game if the user quits. I'd like to figure out how to do that. The need to push the button isn't immediately obvious. It should be over top (or in place of) the canvas to best convey that the user must start the game.
3.0 KiB
3.0 KiB