Jump to content
  • Advertisement
Sign in to follow this  
cozzie

Online highscore table?

This topic is 1423 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

Hi,
I was wondering, what would be the most straight forward way to keep a list of 15 highscores online?
Where my game (c++) would be able to read and write data from.
I'm not looking for complex database setups or other functionality, just reading and writing names and highscores. Note; i don't have any network programming experience (yet).

Any pointers to help me in the right direction would be appreciated.

It doesn't have to be fully 'safe', concurrent reading and writing is not perse a requirement at the moment. Since it's so little data, I could let my application wait till it can read/update the highscores.

Share this post


Link to post
Share on other sites
Advertisement

I would set up a simple HTTP GET or POST based system which just updates a database table when it is accessed. You could have the script return the high score table in simple text form when no parameters are passed.

 

You then just need simple http support in your game.

 

Note that this is as simple as it gets and there is no security, in short anyone with a copy of wireshark will soon figure out how to hack your high score table. Also be aware of sql injections!  Good luck!

Edited by braindigitalis

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!