• Advertisement
Sign in to follow this  

Leaderboards for Games

This topic is 1794 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

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

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
Sign in to follow this  

  • Advertisement