To win a game of canasta, you have to make as many melds as possible. This means you have to play three or more cards of the same rank (suit doesn't matter). When you achieve a meld of seven or more cards, you've achieved canasta.