Demystifying the rules of the electoral game