Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (777)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Online Scoring System  (Read 4167 times)
0 Members and 1 Guest are viewing this topic.
Offline N15M0

Senior Newbie

« Posted 2011-03-28 10:51:25 »

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...
Offline zoto

Senior Devvie

Medals: 4

« Reply #1 - Posted 2011-03-30 11:35:39 »

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.
Offline cylab

JGO Kernel

Medals: 188

« Reply #2 - Posted 2011-03-30 15:14:35 »

And make sure to read the SQL Injection Guide  Shocked

Mathias - I Know What [you] Did Last Summer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline philfrei
« Reply #3 - Posted 2011-03-31 01:51:07 »

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.
I think it needs a Firefox browser, or HTML5, not IE8.

music and music apps:
Offline N15M0

Senior Newbie

« Reply #4 - Posted 2011-04-18 07:49:11 »

Hi all!  Grin

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 Smiley Pointing 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 Smiley
Pages: [1]
  ignore  |  Print  

hadezbladez (295 views)
2018-11-16 13:46:03

hadezbladez (164 views)
2018-11-16 13:41:33

hadezbladez (295 views)
2018-11-16 13:35:35

hadezbladez (75 views)
2018-11-16 13:32:03

EgonOlsen (2156 views)
2018-06-10 19:43:48

EgonOlsen (2183 views)
2018-06-10 19:43:44

EgonOlsen (1370 views)
2018-06-10 19:43:20

DesertCoockie (1987 views)
2018-05-13 18:23:11

nelsongames (1630 views)
2018-04-24 18:15:36

nelsongames (2278 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!