server side win calculation