fixed ai move score algorithm