The gargantuan if statement that was once in the getScore method has been replaced by a switch statement.