When you press the green flag, it immediately starts, you move the ball by moving your mouse, and the ball follows. The beetle will follow you but it is slower. If it touches you, you lose health. The game ends when your health is 0.
This idea popped into my head randomly at noon.