There's no stop condition at this moment. We had limited time so we used it for the core game loop and left other details out.
Thanks for playing. We certainly didn't expect anyone to spend 20 minutes on our game.
We used this: https://deep-fold.itch.io/pixel-planet-generator
It's also on the main game page description in the credits section.