The only problem is, Javascript does not know anything about swipes. It knows about touches starting, moving and ending. So we have to make our own.
We can do this without too much sweat.
The idea will be that you swipe anywhere on the screen, it doesn't have to be on the ball.
|