Fix AI code relying on missing win-score variable.