Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If I want to distribute a Java game applet and let many sites host the applet, how can I maintain a common high score list?

0
Posted

If I want to distribute a Java game applet and let many sites host the applet, how can I maintain a common high score list?

0

Location: http://www.jguru.com/faq/view.jsp?EID=279302 Created: Dec 15, 2000 Modified: 2000-12-16 06:51:36.895 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) As long as the applet is untrusted, the only way you can do this is through sending the new high scores through the Applet context’s showDocument(): getAppletContext().showDocument(url, “_blank”); You would need to encode the name, highscore, and possibly the host as part of the URL: http://www.foo.bar/highscore?u=foo&s=5000 In the page that came up, you would then need JavaScript to auto-close the window.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123