If the rain stop all goes away it means you lose. Just avoid the rain draps. There's a strat btw
I made the first game of this on https://arcade.makecode.com/# oh, I thought it would give you the link... Well i'm too lazy to correct it.