looking for help about wifi

looking for help about wifi
0.0 0


I am new to cocos2d-x. I want to make a game which can let two user fight by the wifi or bluetooth. But I don’t know how to accomplish it. May I use cocos2d-x interferces or code it according to platform? Thank you very much.


Does anyone know about it?
Please help.


For iOS use Game Center (GameKit framework) and for Android use Google play service


You can use different services like Obi suggested, and there’s also stuff like Photon Engine. You probably don’t want to program your own server, but you could also do that (frameworks exist if you didn’t want to start from scratch this way).