Chinese Checkers - System Administrator Manual



Overview

Chinese Checkers is a Java application that connects to a server which lets the User play the game Chinese Checkers. The Game Server can handle Multiple Games. Also a Game can be played against Multiple Players.

The Server Installation involves the following Steps :

  • Copying the Application Files
  • Setting up the Environment.
  • Starting RMI Registry
  • Starting the Server

    Copying the Application Files

    Create a Directory called 'ChineseCheckers' (this Directory is called the Install Directory).
    Make sure that the Install Directory can be published.
    (Refer to your WebServer Documentation on how to publish a directory)
    Unzip the Installation File 'ccinstall.zip' in the Install Directory.

    Note(1) :
    The Installation File consists of the following
  • 'ccclist.jar' : which is an archive containing the project classes.
  • 'LoginScren.html' : the starting page of the game.
  • Other '.java' & '.class' files.

    Setting up the Environment

    Modify the CLASSPATH variable in your environment by adding the directory path and the full path of the JAR file to it.
    Assume that the Install Directory is 'C:\ChineseCheckers'
    For Windows9X
    Edit the file 'autoexec.bat' to modify or add this line:
    set CLASSPATH=%CLASSPATH%;C:\ChineseCheckers\ccclist.jar;C:\ChineseCheckers;
    For Windows NT
    Use Start->Settings->Control Panel->System->Environment to modify the CLASSPATH variable.
    add 'C:\ChineseCheckers\ccclist.jar;C:\ChineseCheckers;' to the CLASSPATH

    Starting RMI Registry

    'rmiregistry' needs to be started (if it is not already running).
    This allows the game clients connecting to the server to locate remote objects on the server.
    In Windows 9X, open a MS-DOS prompt and type "rmiregistry".
    In Windows NT, open a MS-DOS prompt and type "start rmiregistry".
    Note(2) :
    The 'CLASSPATH' variable must be set before running the registry, since it needs to locate the class files requested.

    Starting the Server

    Start the Game Server .
    open a MS-DOS prompt and type the following at the command prompt:
    'java GameController'