codeforgermany / click_that_hood

A game where users must identify a city's neighborhoods as fast as possible
http://click-that-hood.com
MIT License
451 stars 638 forks source link

Simplify congrats #231

Closed JoeGermuska closed 10 years ago

JoeGermuska commented 10 years ago

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.

mwichary commented 10 years ago

This is great. Appreciate you fixing my shitty code. :·)

Deployed live now!