added negmaxplayer
fixed calculateScore