9 of 10
“Winner gets everything”.
When the residents of the state choose the candidate from the party, the winner is the one who succeeds to score at least one vote more.
The candidate ultimately gets all the electoral votes of that state.