Adding Friend Support to Your Application

For the Been There, Done That! application, you will add some light social integration to allow players to follow other players' game scores. This is a relatively simple way to encourage game play. By sharing only "public" score information, you can avoid having to build in support for friend validation and confirmation.

The simple social feature you will add in this hour works as follows:

1. A player adds a friend's email address to mark the person as a friend.

2. If the email address matches that of another player on the application server, a friendship link is established.

3. The players now see each other's scores on the Scores of Friends tab of the scores screen.

The full implementation of the code provided in this hour is available at this book's website,

Was this article helpful?

0 0

Post a comment