Opponent ran out of moves.
Be the first player to empty your 52-card deck onto the shared Foundation piles (or have fewer cards left if both players get Stuck).