This version requires a keyboard so it doesn’t work very well on smartphone browsers. May make a touchscreen version in the next few weeks if I have time.
I got 2000! This game is helping me get the hang of using the arrow keys on the MacBook keyboard .
One improvement could be to make the collision detection work so if the character touches any part of the coin it will count; I found I needed to keep moving around to get the hit point even though it looked like I should have gotten it.
Thanks! I did the collision detection based off the distance between the top left position of the coin and the top left position of the character. Next time, I plan to do it based off the center point of each element.