pull down to refresh

Is it just me, or is the screen accidentally bouncing because of wrong sizing of the canvas (in Chrome on Mac)? Since

<spacebar>

also scrolls the page down this means that the screen keeps bouncing up and down during the gameplay.

Try

:root {
  overscroll-behavior: none;
  overflow-x: hidden;
}

and removing the table on the bottom (or accounting for it in the canvas height).

Thanks for letting me know about this. I haven't been able to reproduce this (I don't own a mac) but wondered if you'd mind trying this link please, to see if it fixes it for you?

https://hashteroids.btcdir.org/nout.html

reply

Thank you! Yes, that solves the problem

reply

Excellent, thanks for letting me know about it. I'll update the live code with your fix.

reply