Since you didn't limit us to video games, I'm going to have to go with Professor James Moriarty from Sherlock Holmes. Honestly, without him the supervillain would never have truly evolved. Even besides that, he portrays the epitome of the clever and brilliant bastard that can beat the hero at his own game.