The win condition depends on the game mode you choose:
Original Mode: Be the first player to reach the required number of points. The number of points needed to win is set when creating the game.
Blitz Mode: Be the first player to get rid of all the Cards in your hand.