Press any key or the mouse buttons when the moving line is closest to the middle of the bar. Use the yellow indicator to help. If you want to restart the game, press the green flag.
There are 10 turns and a max score of 50. The closer the line to the middle of the bar when you press a key/mouse button, the higher the score. You can get up to 5 points per turn. To get 5 points, the line has to be exactly in the middle of the bar.