Leaderboards have long been a staple of many games, driving the competitive spirit while often, back in the day, forcing people to get creative with the limited three spaces they had to come up with a name that was both witty and inevitabely borderline inappropriate. A basic leaderboard is quite simple to create as the only info being stored typically is a user name and the score and doesn't require complex management- " Bob" could hold all the slots for the top 10 scores for example. Typically, two server side calls are all that is needed to store and retrieve leaderboard information : one to get the top scores and names, and a second to save a score entry. In the past, I might have picked my favorite server side language (likely PHP just because it would have been quick and dirty ) , created a database, and then write a few services / logic to retrieve and save the data. Then I could have called that service from my HTML/JS application. I'm going to show you how to take advantage of Azure Mobile Services using JavaScript to create a quick leaderboard api with a cloud backend, without needing to write any server side code. You can write your client side or application logic that will consume the services in almost anything your little heart desires including Objective-C or Java, but for this tutorial I am going to show you how to do this in JS.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,Azure Mobile Services,Game Leaderboard