🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #653

Making application run online

#653
From: Marcia Rendlo
Date: Tue, 25 Mar 2003 17:20
14 lines
2086 bytes


 I wrote a game of Black Jack that someone can play in a Java applet. I would like to extend this game to be used online via the internet/http. There are some design issues that I still need to resolve though.

Basically I need to figure out if the "dealer" of the cards (dealer=Random number generator and addittional logic) should reside on the server?, or instead in the Java client application(Web Browser).

-Thoughts on dealer residing on the server:
-If random numbers are generated on the server and then sent to the client application, I am worried that there might be issues related to speed. Can the dealer on the server send random numbers quick enough to the client application in order for the game to not be affected by being too slow? Also the game results will need to be sent back to the server.

-Thoughts on dealer residing on the Cleint(Java applet):
-Should the game information and results be saved or cached to a local datafile on the client machine? The concern here is that the game data file might be hacked into, or the server might go down/disconnect. 

I would appreciate help from someone who might have had to deal with a similar problem in the past, or with someone who has a good idea about this.
Technical Details
Message-ID: <3e808fea$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,496b01ed86b8a16a,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-03-25 09:28:31 PST
From: "Marcia Rendlo" <primefish2003@yahoo.com>
Sender: "Marcia Rendlo" <primefish2003@yahoo.com>
Reply-To: "Marcia Rendlo" <primefish2003@yahoo.com>
Subject: Making application run online
Newsgroups: borland.public.jbuilder.java.api
X-User-Info: 67.4.97.103 67.4.97.103    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e808fea$1@newsgroups.borland.com>
Date: 25 Mar 2003 09:20:42 -0800
X-Trace: newsgroups.borland.com 1048612842 207.105.83.65 (25 Mar 2003 09:20:42 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail