assign player number to web clients