© Kyle Richter and Beau G. Bolle 2022
K. Richter, B. G. BolleBeginning iOS Game Center and GameKithttps://doi.org/10.1007/978-1-4842-7756-0_7

7. Exchanging Data

Kyle Richter1  
(1)
Eagle River, AK, USA
 

In a previous chapter, we explored how to connect to peers through a variety of methods. So far, we have not been able to do much with that connection. In this chapter, we will learn all that there is to know about exchanging data between sets of peers using GameKit and Game Center networking. We have already added the ability to find peers using Game Center to our UFO game. We will now add the ability to actually play a multiplayer match.

Because all the groundwork has already been laid out in the previous chapters, there are only two items that we ...

Get Beginning iOS Game Center and GameKit: For iOS, tvOS, and MacOS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.