I specifically avoided mentioning parties for a reason, but if you want an example of Republicans trying to game the system, look at Pennsylvania: as a state which has voted blue for the past two decades despite being a swing state, Obama won with 52% of the vote. However, looking at a map of the county-by-county voter count
[link], Obama won a relatively small area of the state. Looking at the present congressional districts of the state
[link] we can see the areas Obama won -- who, again, won the state -- maybe 6 districts total out of 18, and a total of 8 electoral votes out of 20. In other words, his 52% of the Pennsylvania vote would have won him 40% of the electoral vote. Does that look like an honest election?