Hmmm, this seems like a bug...No way to end the game...
There either needs to be a check for this at the end or a way to exit without a third island.