Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

24. GameKit > Turn-by-Turn Matches

Turn-by-Turn Matches

Turn-based matches allow your applications to hook into a Game Center feature that moderates games based on one-at-a-time gameplay, such as checkers, gin rummy, scrabble, or bridge. It introduces store-and-forward game state, allowing each player to make a move and then pass that updated state back to the Game Center store.

The turn-based matchmaker allows users to connect both anonymously and by invitation, just as the standard game matchmaker does. What differs is how you establish your game and how game control moves from person to person to person by passing a virtual “baton.” The person holding that baton has control of the game until he or she makes a move.

From there, the baton is passed to the next player—it may be the next player in order or someone based on another rule. For example, after each full round it might pass to the person with the highest score or the lowest. Or a player might choose whom to discard an item to, passing game control at the same time.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint