To determine the value of your deadwood, you sum up the card value of any of your cards which are the cards that are not part of combinations after laying down and melding. To win, your entire team must have fewer deadwood points than the opposing team.
In the four-player game, this is modified in the sense that the entire deadwood of the teams is compared. If you have knocked, you win in the two-player game if your deadwood is worth fewer points than your opponent’s.
In a two-player game, you compare the card values of each player’s respective deadwood, which are the cards that are not part of combinations after laying down and melding.