A player wants to compare cards with you. If you accept, the weaker hand packs — a tie packs the asker.
Before any card is dealt the server publishes a hash of its secret seed. Every player's seed goes into the shuffle. When the hand ends the seed is revealed, so you can re-derive the exact deck and confirm nothing was swapped.
—