iOS Gamekit Blutooth 4+ Players? - ios

I want to make a multiplayer game that will allow 4 people to connect their iphones together via bluetooth and play a realtime networked game.
I've been reading and reading about this, but cannot find out if it is possible. I have found documents demonstrating how you connect 2 devices via bluetooth, but I want to connect 4. Is this possible?
Can it be a host client setup, or does it have to be p2p?
Has anyone gone about implementing a 4 player multiplayer ios game over bluetooth? Can you give me any advice on how this is possible?

Related

How do I get data from Arduino to iPhone serially by connecting through Mac?

I am looking to play a game app that I created on my iPhone but do some of the controls through my arduino. Due to limits on what I can do, I need to connect my arduino serially (through USB cable) to my computer and then transfer the data to my iPhone to play the game. Any ideas on how I can do that?
How about using a tiny BLE-Arduino that is natively supported by iOS? For example redbearlab or rfduino controllers are arduino compatible BLE solutions which support iOS.

iOS PKPKT BLE concept

I understand that the iOS App "PKPKT" is using BLE (Bluetooth Low Enery). But what I am curious about it is, is it purely using BLE only? Or does it switching between BLE and Classic Bluetooth?
I tested with a iPhone 5 and a iPhone 5s with both installed the app. I turned on bluetooth on both devices. And then i checked the "DEVICES" list to see if the other iPhone is paired with one another, I found that they are not. Until i launched the PKPKT on one of the device, and the i check the "DEVICE" list again, now they are paired and connected. So, i'm thinking is this pairing done by the BLE pairing? Meaning one of "Just works", "Out of Band", or "Passkey entry" methods.
There is also a "Chat" functionality in that app. This make me curious if the chatting function using BLE or Classic Bluetooth?
So my question is actually "Is switching between BLE and Classic bluetooth possible?". This is part of the study on this BLE technology. Hopefully someone could help me and other newbie on this new technology.
Thanks in advance!
I wrote PKPKT. I only use BLE. No classic. iBeacon is cool but doesn't have the background scanning needed to discover other players. I use game center, but only for scores, no sessions. It's optional in the app to enable game center (those banners can be distracting!)
The chat is also over BLE.
Because the connections are not encrypted, you don't need to manually pair the devices, and "just works"
I think you might find this link helpful. It implements something that looks to be a simpler version of PKPKT. I believe the app uses a combination of GameKit/iBeacon. The app requires iOS7.0+ and states, "PKPKT does the hard work of finding other players by detecting them using Bluetooth Low Energy (BLE) in the background." iBeacon would be the most battery-efficient way of accomplishing this and is a new feature in iOS 7. There is a wealth of information online(particularly on SO) about peer to peer bluetooth gaming using GameKit, if you are interested.
We can't say for sure unless the developer lets us know. If one were to attempt to recreate the application, GameKit and iBeacon would be the technologies that I believe most would recommend.
You might find this project helpful as an overview of how to use Bluetooth LE to communicate between two devices. You don't need to pair the devices, and unlike iBeacons, it works when the app is in the background.
SimpleShare - Easy Proximity-based Sharing for iOS
You can use the delegate methods of the SimpleShare project to easily share arrays of strings between nearby users running your app, such as user IDs, which you could then use to get more info, photos, etc, about that user from a web service.

Using Gamekit to Share Music Between Devices

Is there a way that I can develop an application that uses GameKit to share the music currently playing on another device?
The connection part using GameKit isn't the problem. It's the sharing music part that I'm having a problem with. Any ideas?
After doing some research I realized that it is technically possible but because of copyright issues Apple won't allow it. In theory you can connect the 2 devices via GameKit and then get the MPMediaPropertyAssetURL for an audio item in the library, and open it with AV Foundation. You could use the AVAssetReader to read from the file and then stream them over the GameKit connection. So technically it's possible but legally might not be allowed! Hope this helps someone!

Can I use Bluetooth on Blackberries to create local multiplayer?

I'm developing a game for Blackberry, and I've been tasked with developing multiplayer for it. I've been trying to do research and find out how to implement bluetooth on Blackberries and I want to know if it's feasible to implement on a turn based game. Also, if anyone could give me some resources or tutorials to being with, that would be much appreciated!
Yes, this would definitely work. Check out the BluetoothDemo sample app that comes with the developer tools. It contains code that lets you communicate between two devices using Bluetooth.

Blackberry Development, communicating two Blackberry device in a multiplayer game programatically

We are developing a game application for Blackberry, which will have multi player option to let two or more player compete against each other. We have implemented the logic for that and already two or more player are able to play the game simultaneously on single device.
Now we want to upgrade our application so that two or more user can compete each other playing from different device and different locations.
Can anyone please help me by providing me the way (or code) to achieve this (communicating two blackberry devices over the air to access single session programmaticaly)?
I found the code to connect two device using Bluetooth but as the player may situated in different geographic regions we need to achieve this using over the air connection.
what about pin messaging. after making move of one player send pin messages about his move to other players than read received pin messages through your code using folder listener and change the UI.
pin messaging is free
but both handset should be blackberry.
i have read your article Really Nice one.because Now a days not only big companies like Adobe, Microsoft are doing Blackberry App Development in India at their development center. But now many other small to medium scale companies have started Blackberry Software Development, ipad html5 development and started entering into iPad Web Development. It is considered that, increase in business will be around 100% in Wireless Application Development.

Resources