Ending the game

Now the player can play the game and we can keep track of the score and the number of notes they got correct. When the game ends, we need to display the results panel that shows the score and some statistics.

Get HTML5 Web Application Development By Example Beginner's guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.