This is the most current version of the Retailer Game's Java client.
This version is modified by Kuo-Di Jian on 3/16/99. The game is
rehosted to oit machine. Previously, it is in banquo. The long
package name is cut short and All the files that are related
to the Retailer game are put in one place.
The most recent additions are the addition of forecasting
and market research tools from two recent Masters projects.
Giving credit where credit is due:
- Main Java client: Brad Vender
- Market Research tool: Jun Zhou
- Forecasting: Hong Wu
- Server code: Many and numerous.
Things which are important to note:
- If you are using a browser like Netscape and try to set Netscape's
disk cache size too low (or turn it off like I always try to do on my
quotaed accounts, the applet will tend to hang often. This is especially
true for the NDSU Sod Cluster.
- There appears to be some trouble dealing with non-existant URLs.
Checking for a positive content length, and using Component.prepareImage
appears to work much better than using MediaTracker for downloading
many images asynchronously, especially when many many MediaTrackers
would be used.
- There is a bug in the thread restarting code. At the moment, if you
use the browser's back and foreward buttons to come back to this page,
the image loader will crash if you don't hit the reload control.