when thassa's oracle enters the battlefield, look at the top x cards of your library, where x is your devotion to blue. put up to one of them on top of your library and the rest on the bottom of your library in a random order. if x is greater than or equal to the number of cards in your library, you win the game.