Online Scoring System

Hi all, (I’m baaaaaacckkk…)

In the process of completing a game for a company and will soon result in online deployment and a high scoring system…

One thing though, how would this be achieved? If it is hosted on a site, how would I go about having a scoring table? Would linking it to an SQL database as such be an option, and if so, how would I link the two?

I looked at other forum posts and the links they contained didn’t help much.

Thanks in advance…

You could make it in Java but its probably going to be a lot easier in PHP. Sent info from the game to a PHP page with HTML GET/POST or use JSON or XML or whatever you like. Validate it, and if its good add it to the SQL DB.

And make sure to read the SQL Injection Guide :o

Yeah, setting it up via Servlets or JSP & MySQL or even Derby is not easy. But if you already have login support, perhaps you can leverage that, since that requires implementation of some form of persistence.

Here’s a very closely related question: it seems to me this game (Entanglement) is using some prebuilt code from Google, both for login and for high score support. Do you think this is true? I’m wondering, if so, if this could also be used in a Java game, and at what cost and what difficulty level. But I haven’t taken the time to research this yet.

http://entanglement.gopherwoodstudios.com/light
I think it needs a Firefox browser, or HTML5, not IE8.

Hi all! ;D

Ok so I’ve been looking and observing and Googling and asking and… you get my point, about the different techniques I could use.

It seems as if sending data to a php page will be the most likely choice I will use… Sigh, I’ll have to go and learn some new languages now (yay!)

Thanks for the link philfrei :slight_smile: :point: I’m looking into this game now (which by the way seems very well developed), but seems as if the reason why it has (or probably has) code for a scoring system is becaus it is scripted in Javascript, along with HTML and CSS…

Thanks all :slight_smile: