My children's elementary school has a nicely painted chair in the school yard, I think they call it Friends Chair or something. If a kid has no friends or no one to play with, they are supposed to go and sit on that chair and someone will come and play with them.
I don't think people who came up with this idea understood how it works.