Theoretically speaking if you could predict the algorithm in an online casino wouldn't you be able to predict the game and win a lot let's just say you had access to the algorithm and you were able to replicate it you would practically be able to win all the games
Lol, if there is such algorithm in gambling, but now someone could have discovered it, but it's not that easy. Even those who are great in mathematics who try to beat the system might be successful in the beginning, but it's the randomness and the unpredictability that makes gambling difficult to win.
No offense OP, but this just happen on movies, wherein someone see what is the card under,

Just play how it is, if you win then good for you, but don't day dream that you can predict the outcome or you have some kind of magic powers to see the future results.