Team mode in Cardparty is played with 4 players. The same basic rules apply, but you and your teammate can play using each other's cards and work together to clear your stockpiles.
As soon as one player clears their stockpile, their team wins the game.