Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (429)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (467)
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 2544 times)
0 Members and 1 Guest are viewing this topic.
Offline N15M0

Senior Newbie





« Posted 2011-03-28 12: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 Member


Medals: 4



« Reply #1 - Posted 2011-03-30 13: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 Knight


Medals: 34



« Reply #2 - Posted 2011-03-30 17: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 03: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.

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

"Greetings my friends! We are all interested in the future, for that is where you and I are going to spend the rest of our lives!" -- The Amazing Criswell
Offline N15M0

Senior Newbie





« Reply #4 - Posted 2011-04-18 09: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  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (81 views)
2014-04-15 09:08:23

BurntPizza (73 views)
2014-04-14 18:46:01

UprightPath (84 views)
2014-04-14 08:39:50

UprightPath (67 views)
2014-04-14 08:35:47

Porlus (84 views)
2014-04-14 06:48:38

tom_mai78101 (107 views)
2014-04-09 19:04:31

BurntPizza (167 views)
2014-04-08 14:06:04

tom_mai78101 (263 views)
2014-04-05 04:34:39

trollwarrior1 (214 views)
2014-04-04 03:06:45

CJLetsGame (223 views)
2014-03-31 17:16:10
List of Learning Resources
by SHC
2014-04-17 18:17:39

List of Learning Resources
by Longarmx
2014-04-07 18:14:44

Good Examples
by matheus23
2014-04-05 04:51:37

Good Examples
by Grunnt
2014-04-03 06:48:46

Good Examples
by Grunnt
2014-04-03 06:48:37

Good Examples
by matheus23
2014-04-01 09:40:51

Good Examples
by matheus23
2014-04-01 09:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 06:22:30
java-gaming.org 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‑gaming.org
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!