Last 12 weeks · 0 commits
2 of 6 standards met
Thanks for this awesome little game! The user experience could be further improved by making it easier for the player to compare their most recent guess with the city’s actual location. With a little experience, most of your guesses will be pretty close. So you’ll end up zooming in as much as possible for every city asked. When you have placed your marker on the map, however, while the actual answer (i.e. the city’s correct location) is being revealed, the map is immediately zoomed out and re-centered. This lets you lose focus and makes it hard to compare your guess against the actual answer. In order to compare the two, you have to zoom in again and move to the area surrounding the two markers. That’s because handles all this in , where in the case, is being called. Instead, only the minimal amount of zooming out should be applied that makes both markers (the one for your guess and the one for the actual answer) show up on the map, if any at all. If the solution is in the section last focused on, there’s no need to zoom in or move the map at all. Only after that, and after the user had the chance to view the solution and its distance, the map should be zoomed out and re-centered, as in the case. So it could be something like this:
I just wanted to gloat about my score to no one in particular Haters may say I cheated, as to allow me to consistently get <2s clicks, I made some modifications: rebound scroll and click to keyboard keys (ahk) centered the round score so I didn't have to move my eyes out of the way (css) reduced the animation duration of the fade effect on zoom (css) removed the ability to pan the map to prevent accidental click and drag interactions (vibe coded tampermonkey)
Repository: sharkdp/quizzity. Description: A fast-paced geography quiz Stars: 150, Forks: 27. Primary language: JavaScript. Languages: JavaScript (34.5%), Less (18.6%), HTML (17.2%), Python (13.5%), PHP (9.1%). License: MIT. Homepage: http://david-peter.de/quizzity/ Topics: cities, countries, game, leaflet, map, quiz, website. Open PRs: 0, open issues: 1. Last activity: 3y ago. Community health: 42%. Top contributors: sharkdp.