Replace magic number by maximum points
Refactoring of getAdvantageOrWinScore method