Control a number bigger than the gate number to pass the gates and reach the end.
On phone or tablet: Tap to play. On PC: Use mouse to control the number.