To get points, you must hit the bar that is the same color as the player on the screen. If, on the other hand, you connect with a bar that is a different color than your own, you will die.
Click the left mouse to jump. Jumping on a mobile device is as simple as tapping the screen.
On a desktop or web browser, simply click anywhere on the display to hop.