The underground ending requires clicking each square as soon as it becomes available, in this order:
Speed is the key variable. If you hesitate between clicks the sequence breaks, so work through the seven items promptly once you start.