Online highscore table?
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.
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!
Games/Projects Currently In Development:
Discord RPG Bot | D++ - The Lightweight C++ Discord API Library | TriviaBot Discord Trivia Bot
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement