Chapter 6. Bragging Rights
Score is a major feature in most games. It is a way to compete with others without even meeting them. High score lists have always been the way to show your friends your score; however, with Windows 8 we can make that a little more direct with the integrated sharing and Live Tiles features. To do this we're going to need to make some changes, so that when the game ends the players have a chance to see their scores, and are prompted to share those scores – this allows us to control when the players can share and gives them a chance to do so without ruining their games. This stop in the action also allows us to register if they have new high scores and update the tiles that will display the scores for them, so we need to ensure we have this in place first. To do this we'll take advantage of the WinRT component system to make things easier for ourselves, and learn about how you can use this to develop components in one WinRT compliant language...