There is another approach that is gaining momentum that would require a state to cast all its electoral votes for the candidate with the largest NATIONAL popular vote.
It get around a Constitutional amendment to end the electoral college (which has failed on several recent occasions) by having the states sign interstate compacts.
http://www.nationalpopularvote.com/
Its an interesting approach.