Building a Social Game with Windows AzureVersion: 1.0 DescriptionIn this lab, you will learn how to add Social Gaming features to your applications such as inviting friends using ACS and Social Providers, allow multi-players using both Storage Polling and NodeJs approaches and generate a leaderboard to show the top users' scores. OverviewBuilding a game has multiple challenges, more if we are building social games that require multiplayers, contacting your friends, leaderboards and multiple ways to authenticate a user. In this lab, you will see how to take advantage of the Windows Azure services benefits when building a Social Game. Windows Azure offers Access Control service to authenticate your users using multiple Social Providers, such as Windows Live Id or Facebook. You can take advantage of Azure Table Storage to create a Leaderboard or to use it as a game storage, where clients access to update the game status in their browsers. Additionally, you will see how to use Node.JS to emit and broadcast the players game moves to other clients in real time. ObjectivesIn this hands-on lab, you will learn how to:
PrerequisitesThe following is required to complete this hands-on lab:
Note: This hands-on lab has been designed to use the latest release of the Windows Azure Tools for Visual Studio 2010 (version 1.6) and the new Windows Azure Management Portal experience. SetupIn order to execute the exercises in this hands-on lab you need to set up your environment.
Note: Make sure you have checked all the dependencies for this lab before running the setup. Using the Code SnippetsThroughout the lab document, you will be instructed to insert code blocks. For your convenience, most of that code is provided as Visual Studio Code Snippets, which you can use from within Visual Studio 2010 to avoid having to add it manually. If you are not familiar with the Visual Studio Code Snippets, and want to learn how to use them, you can refer to the Assets\Setup.docx document, which contains a section describing how to use them. ExercisesThis hands-on lab includes the following exercises:
Estimated time to complete this lab: 90 minutes. Note: When you first start Visual Studio, you must select one of the predefined settings collections. Every predefined collection is designed to match a particular development style and determines window layouts, editor behavior, IntelliSense code snippets, and dialog box options. The procedures in this lab describe the actions necessary to accomplish a given task in Visual Studio when using the General Development Settings collection. If you choose a different settings collection for your development environment, there may be differences in these procedures that you need to take into account. |