Truthfully, many 2 1/2 year old kids don't play particularly well with others. It's actually considered "normal" for kids of that age to like human company, but to not be able to cooperatively play with anybody.
If he still doesn't want to play with kids by age 3, then I might get a little concerned.
Who knows? Maybe you have a genius on your hands!