Sign in to follow this  
blueshogun96

Leaderboards for Games

Recommended Posts

blueshogun96    2264

One of my goals is to implement a basic leaderboard functionality for my games.  I'm assuming Xbox Live, etc. has it's own private server for leaderboards, but let's say you're writing game for Windows or MacOSX, or maybe even iOS or Android.  Would I have to have my own server for this?

 

I do have my own webspace (through Jumpline/Plesk) and it works pretty well, could I possibly use that?  Also, would I be better off using SQL or manage things using C/C++ and a networking library such as Enet?  I have Enet and I'm still a bit of a beginner with network programming, so please go easy on me, lol.  Thanks.

 

Shogun.

Share this post


Link to post
Share on other sites
frob    44908
Yes, you would need to have some server somewhere that manages to keep all your data. It doesn't need to be much. You need a way to communicate scores to the server (preferably in a way that is not easily intercepted or you will get cheaters with maxed-out scores. You need a way to retrieve the list. You could do it with practically anything; even web put and get commands that serve as the basics of all web pages would work.

Share this post


Link to post
Share on other sites
Lightness1024    933

I have used scoreloop in my Android game (Fujii's same game, its on the market, if you want to see what is scoreloop)

I am not sure of the platforms it is available but iOs and Android, that, I'm sure. Maybe they have a desktop version of the client demo. In any case I think you can pretty much design the client from scratch, the API is very into the detail if you wish it to. Also I'm not sure what kind of language bindings they give, surely objective C and Java at least.

Share this post


Link to post
Share on other sites
blueshogun96    2264

Great, thanks for the replies!

 

I think what I'll do is stick to using the basics by using my own http or ftp code using my own private webspace/server.  Atm, I'm not too worried about cheating, but that is a big concern for the future, especially for a commercial PC game where hackers are a dime a dozen.  Keeping things fair is just part of professionalism IMO.

 

I do have another question though, how does someone access FTP using C/C++ apis?  I haven't found out how to do this yet.  It looks like Enet is specifically for p2p and network apps/games via UDP.  Should I try libCurl instead?  Thanks.

 

Shogun.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this