its totally random here is a post i made before to explain
Ok Im a former programmer I worked for AT&T and IBM. Let me tell you one way I would write a simple poker program. I would create an array simply put it is like a box with 52 boxes in it. I would load that array with the 52 cards randomly by using a random number generator from 1 to 52 and assigning each card a number. That mimics a shuffle. Then I could either start dealing out the cards starting at any point I want or randomly select the slots I would choose the cards from. Done, totally random and it would be no different than a live dealer shuffling a deck and dealing the cards. Now what you are implying is after this is done my program makes some sort of decision if A then B. It doesnt, a random program has no decision points other than is the slot I just chose empty (I have already chose that card) or full. To make this example equal a live dealer, he has 52 slots to put those cards in thinking each card is in its own slot while sitting in the deck. He shuffles them randomly filling the slots he then deals them out accordingly.
If you are not tired of reading then yes I could write a program that specifically deals the cards one way and favors certain players or manipulates the cards according to a flop or players hold cards. But that would not be a random deal and that would not pass any certification criteria.