Sign in to follow this  

Online highscore table?

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

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

This topic is 1115 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.

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