Exactly. Win a state by one vote and you get all the marbles that state has to offer.
Mostly, but some states now divvy up their EV’s................