Edit: More substantively, the score becomes `NaN` if you click without moving the mouse after pressing Start, because mouseX and mouseY are undefined until the first mousemove after initialization.
Fun little toy. I would love to see a responsive design version, where you need to draw "X% of viewport width" or "Xem high" (with 1em provided for reference).
13 comments
[ 4.4 ms ] story [ 42.0 ms ] threadI always struggle when I need to move something with a bit of CSS. I'm often off by a factor of 2 or more.
I feel like playing this for 2 minutes a week would actually make me more productive.
Actually got 780.
> 300px by 270px
wat
Edit: More substantively, the score becomes `NaN` if you click without moving the mouse after pressing Start, because mouseX and mouseY are undefined until the first mousemove after initialization.