This is an awesome idea, but it was way too difficult for me to even get past the first pipe. The bounding boxes seem to be slightly off, but maybe that's just me. Overall a very cool idea- this could be the solution for getting children of the next generation to learn their times tables.
FWIW, I think you should advise the algorithm you're using to generate the "wrong answer." It appears you're calculating `(a ± rand) x b` as the wrong answer, but that often means the units digit will be wrong, which is an easy tell. That is, 11x999 is going have have a "9" in the unit's digit, regardless of the rest of the digits. I think it would be more challenging to run a mix of `a x b ± rand x 10` as "wrong answers," to make the game more challenging (... since it's not already hard enough).
I agree, next step is a more intelligent algorithm. Also plan to add options for selecting times tables and changing distance between pipes so it's friendlier for kids to play. Thanks for checking it out!
It would really be neat to support a simple key to flap instead if having to click (especially since soft taps, tapping on the trackpad on Mac instead of actually clicking, does not seem to work).
Finally hit a score of 10 and got a medal. The strategy I came up with is mentally computing all solutions as DOWN or NOT DOWN at each pipe using heuristics. Makes it easier to focus on flapping.
I think the difficulty is just fine as it is right now. I am pretty sure I can reach a score of 100+ if I played for more than the 30 minutes I just gave the game.
Edit: Reloaded and got the new Easy mode version. Got 26 on my first try, now it is too easy. Bring back Hard mode!
Performance is indeed pretty bad. The code I adapted it from (floppy bird) just uses divs and css. Maybe I'll just rewrite it in canvas if I can't improve things :I