Advertisement

Online highscore table?

Started by November 29, 2014 02:46 PM
0 comments, last by Brain 9 years, 11 months ago
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.

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

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!

This topic is closed to new replies.

Advertisement