OK, first of all, poker is rigged online AND live...
Ok, now that you've panicked, here's the truth: what I've just said is a possibility.. a dealer can rig a game, a group of persons can rig a game, computers are doing what we (human) tell them to do, so yes they can rig a game, better then human do. But they don't.. they can't.. no, sorry.. many can't.
You're friend is sort of right.. before the hand starts, a
poker site can predict which player in which seat will win the hand, maybe also the tourney, by simply knowing which of the seat will have the strongest hand at showdown and add players stats and calculations. That's as far as they can go.
PS is more targetted by this « accusation » because of the variances of the game compared to some other sites. More player, more hands played, many more players, many more and more hands played.. But a site like PS is regulated and checked.. Someone said to me once: « If you think you've saw weird things happening in some of your games, there're people seeing all of them, on a longer period, studying the shuffling and all that technical stuff ». That said, not all the sites are regulated, but a big names like PS is.
Now will you be in the right seat, doing the right moves at the right time to make a double kick-out, UTG+1 with A6 off when SB shoved all-in and got snap called by UTG, like the computer predicted at the beginning of the hand/game? Maybe your good player skills will make you fold that A6 preflop because UTG is tilting to death and shoved with 7-2 off first to act.. maybe you will shove and be in HU with SB.. but the computer designed you as the winner of the hand once he got the deck from the shuffler, the result at showdown is: you hit a full house on the turn.. TADAAAAM!
Computer can predict, but they know things the way we know things: when they happen!
-TRP-