Skip to content
Java HTML Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
META-INF Initial code Sep 4, 2019
UtilityGame Initial code Sep 4, 2019 Initial code Sep 4, 2019 Initial code Sep 4, 2019
GameMaster.jar Initial code Sep 4, 2019
GamePlayer.jar Initial code Sep 4, 2019 Initial code Sep 4, 2019 Initial code Sep 4, 2019
Readme.txt Initial code Sep 4, 2019
buildgame.bat Initial code Sep 4, 2019
gameplayer.jnlp Initial code Sep 4, 2019 Initial code Sep 4, 2019 Initial code Sep 4, 2019
rungame.bat Initial code Sep 4, 2019


The Utility Game

T. E. Portegys and J. R. Wolf, Jr.,
"Technology Adoption in the Presence of Network Externalities: A Web-Based Classroom Game",
Informs Transactions on Education, Vol. 8, No. 1, September 2007

Installing the Software

The Game Master application requires a recent version of Java, e.g. 1.4,
available at The application can be downloaded from:

The jar file contains all the source code, associated files, build command,
HTML files, and the Master executable code. It can be started on most Windows
systems by simply double-clicking the jar file; otherwise, the following
command will start it:

java -jar GameMaster.jar

The source files can be unpacked from the jar file with the jar tool that
comes with Java, or with an archiving tool such as WinRAR, available at The system can then be built by clicking the buildgame.bat
file, and tested with the rungame.bat file.

The Game Player is a signed Java applet that will run in most browsers,
including Internet Explorer. It is available at:

If you want to install the Player applet on your web server, copy
gameplayer.html (included in the jar file), and GamePlayer.jar to the server.
The MasterHost parameter in gameplayer.html can be set to the IP address of
the Master host, which will allow players to connect to it.

The Player applet communicates with the Master via Java RMI (Remote Method
Invocation), necessitating the signing of the applet with the jarsigner
command, invoked from the buildgame.bat script. The jarsigner command expects
to find a public/private key pair on your computer having the alias "ugame".
This can be created with the keytool command as follows:

keytool -genkey -alias ugame -keypass your_password

Upon connecting to the Master, your computer may prompt you to unblock a
network connection to allow RMI to proceed.
You can’t perform that action at this time.