I'm going to fool around with using localStorage to remember your past times, tell you if you've beaten your best time for a given map, average time, etc.
On the way, it seemed like it would be a drag to have to put those messages in the HTML template for two different "congrats" elements. This pull request combines the two and updates the "count" instead of selecting between two mostly similar congrats messages.
I'm going to fool around with using localStorage to remember your past times, tell you if you've beaten your best time for a given map, average time, etc.
On the way, it seemed like it would be a drag to have to put those messages in the HTML template for two different "congrats" elements. This pull request combines the two and updates the "count" instead of selecting between two mostly similar congrats messages.