Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

View Poll Results: Would you prefer to use bluetooth or wifi for a multiplayer poker game?
Bluetooth, as a developer 2 28.57%
Wifi, as a developer 0 0%
Bluetooth, as a player 2 28.57%
Wifi, as a player 3 42.86%
Voters: 7. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
Old 11-29-2009, 12:03 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 67
Question Wifi vs Bluetooth for multiplayer gaming

Hi,

I'm working on a Texas Holdem Poker game...(there's plenty out there already, but this would be good practice).

I'm having trouble deciding whether to use bluetooth or wifi for multiplayer.
I've gotten the WiTap example to work w/o any problem.

Currently, the local multiplayer feature would be fine but in the near future, i'd like for it to be able to player over the net and not just LAN.

My impression is bluetooth still has some connection issues using the GameKit framework.

Apple's Texas Holdem uses wifi. However, this game has been out before the release of GK framework so I don't know if Bluetooth has gained the upper edge over wifi.

I'm planning to have up to 8 or 10 players.

Please share your experience and thoughts on this dilemma.

Thanks

-FerrariX
FerrariX is offline   Reply With Quote
Old 11-29-2009, 02:15 PM   #2 (permalink)
Registered Member
 
Join Date: Sep 2008
Posts: 109
Default

In my opinion, the GameKit framework sucks. It does what it wants to most of the time. However, if you do get a connection, its fairly easy to send and receive data. Wifi gameplay requires some network programming which is a bit more complicated, but it is much more reliable than bluetooth
davidlansalot is offline   Reply With Quote
Old 11-29-2009, 02:50 PM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 67
Default

Quote:
Originally Posted by davidlansalot View Post
In my opinion, the GameKit framework sucks. It does what it wants to most of the time. However, if you do get a connection, its fairly easy to send and receive data. Wifi gameplay requires some network programming which is a bit more complicated, but it is much more reliable than bluetooth
Hi david,

thanks for you suggestion.
This maybe stupid questions but i'm new to the GameKit framework,
Is Bonjour part of the GameKit framework?
Can GameKit framework use wifi?

Thanks again,

-FerrariX
FerrariX is offline   Reply With Quote
Old 11-29-2009, 02:53 PM   #4 (permalink)
Registered Member
 
Join Date: Sep 2008
Posts: 109
Default

I may be wrong, but im pretty sure Bonjour is used just with WiFi stuff. GameKit cannot use wifi, its strictly bluetooth
davidlansalot is offline   Reply With Quote
Old 11-29-2009, 09:31 PM   #5 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 67
Default

Thanks David,
FerrariX is offline   Reply With Quote
Old 04-24-2010, 04:27 PM   #6 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 17
Default

Quote:
Originally Posted by davidlansalot View Post
I may be wrong, but im pretty sure Bonjour is used just with WiFi stuff. GameKit cannot use wifi, its strictly bluetooth
As of 2010 this is totally incorrect.

1) GameKit works with EITHER bluetooth or wifi.

2) in fact somewhat bizarrely at runtime ONLY GAMEKIT will choose whether to use bluetooth or wifi. (in other words, if both are available, IT will choose - ! GAMEKIT will make the choice which to use.)

3) you as the programmer actually CAN NOT CHOOSE (!) whether to use bluetooth or wifi. That's a fact. Strange, but true.

4) if the user has turned on only bluetooth, or only wifi (i.e., only one or the other), then GameKit will (obviously enough) choose to use only that one.

5) To repeat as the developer you have no control over whether it uses bluetooth or wifi (bizarre as that sounds).

6) In fact, gameKit WORKS VERY, VERY, VERY WELL INDEED - in fact it works exceptionally well.

You have to know a lot about networking to use it for performance, but that is true of all networking.

if you are having performance troubles with GameKit -- you can be utterly 100% certain, that, the problem is with your programming!

GameKit is Fast as Usain if you know how to drive it right. Possibly, nothing is faster on the platform.

7) Regarding wifi v. bluetooth performance (nothing to do with GameKit -- just in the abstract). Of course, WiFi is better in pretty much every way. But then, you don't always have a wifi hub on hand, for gaming. So that's what bluetooth is for.

8) No, you can NOT make an adhoc wifi network with a phone/pad/pod (such as you can on your Mac or Lisa).

Hope it helps!
FatFatto is offline   Reply With Quote
Old 08-16-2010, 11:49 AM   #7 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 67
Talking Thanks FatFatto

I've completed wifi 2player mode first.

Now i'm working on Bluetooth.

Thanks for your thoughtful insights.

-FerrariX
FerrariX is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 628
17 members and 611 guests
aniuco, brianmethod, BrianSlick, dacapo, devangvyas, djohnson, Duncan C, emerldfds, holisticni8, HowEver, LEARN2MAKE, learningtocode, linkmx, mollysalomons, Rudy, sudama, vikinara
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,773
Threads: 89,203
Posts: 380,580
Top Poster: BrianSlick (7,129)
Welcome to our newest member, holisticni8
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:30 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0