ChessTutorTM is provided as free software to any one who would wish to use it on their web site. The software is provided as a ZIP file and must be unzipped with the -d option to ensure that the directory structure stored in the file is preserved. Note that an unzipping utility, such as WinZIP, that supports long file names is required.
ChessTutorTM may also be run as a stand-alone application, provided a Java Interpreter is used. For this purpose you will need either a JRE (Java Runtime Environment) or the JDK (Java Development kit). Both can be downloaded from the JavaSoft Homepage.
You may select the filter button to narrow down the number of games displayed in the games list. For instance you may wish to only display games played by a given player, and/or which contain a certain move order. Enter this information in the Filter window, enable the appropriate checkboxes, and press the 'Execute' button, and away you go.
The ChessTutorTM applet reads from a game catalog database. You may select one of these catalog entries which will result in a new Window containing a chess board. By selecting from the available buttons, you may play one move at a time, play all the moves in sequence, go back a move, stop a play sequence, or reset the game to the starting position. You may also set use the 'sliding bar' below the moves list to advance or reverse to any place in the game.
As each move is made, the current move is highlighted in the moves list. The moves list is clickable, so that clicking on any one move will cause the chessboard to advance (or reverse) to the position resulting from such a move.
If variations exist for a given move, then the Variations menu will be enabled. When one of the available variations is selected, a new Chess board window will be opened displaying the position at the beginning of the variation. Also, when there are variations at a given move, a blue dot will be displayed by the move. Double-clicking on the move in the moves list will open all the variations at that given move. You may then play through the remaining moves in the same manner described above.
As you traverse through each move, comments which have been attached to a move will appear on the right bottom panel of the Window. Hopefully, these comments will give some insight into key moves. At the end of the game, when all moves have been completed, there may also appear an Analysis window with an overview analysis of the entire line of play. Note that not all moves and/or games are annotated, so do not be alarmed when you do not see any commentary or analysis.
While the ChessTutorTM was primarily design to run on a Web browser, it is also possible to run ChessTutorTM as a stand-alone application using one of the standard Java Interpreters. The ChessTutorTM applet has been tested under Windows 95/NT with both jview.exe, which comes with Microsoft Internet Explorer 3.0, and with Sun's java.exe, which comes with the Java Development Kit (JDK). For instructions on how to use a Java Interpreter on your Operating System, refer to the instructions that come with the Interpreter.
Note that ChessTutorTM was written with JDK 1.0.2. Nevertheless we recommend to use at least a JDK/JRE 1.1.6 version, or higher.
Example 1: Running ChessTutorTM using Microsoft's jview.exe under Windows 95/NT
Change into the directory where the ChessTutorTM software was installed, and from the command line (or in a DOS batch file) type:
set CLASSPATH=".;ct.zip" jview ChessTutor
Example 2: Running ChessTutorTM using Sun's java.exe under Windows 95/NT
Change into the directory where the ChessTutorTM software was installed, and from the command line (or in a DOS batch file) type:
set CLASSPATH=.:ct.zip java ChessTutor
When ChessTutorTM is used as a stand-alone application, in addition to the default catalog of games that is loaded when the software is started, additional PGN databases may be loaded by selecting from the 'Load Catalog' and 'Load PGN DB' buttons. This allows for viewing games which you have created and/or obtained from other sources.
Note
If you wish to change the default catalog that is loaded when the software is started, edit the ct.ini file's 'catalog' parameter to point to the desired catalog or PGN database.
The stand-alone version also allows for saving the current board position as a GIF file. To use this feature, select the 'File Save As' menu option when you want to save a given position to a GIF file.
The files and directories included in ChessTutor.zip provide all the software and data required to setup a Web site. These files and directories may either be placed on a Web server and accessed through a URL, or on your personal computer or workstation, while pointing your Web browser to the path where the files and directories where copied.
The required files which must be placed on the Web server are: ChessTutor.cab and ChessTutor.jar (or ct.zip - see below). The required directories that must be placed on the Web server are the 'res' and 'img' directories and all the files that they contain. Both of these directories must be located in the same directory (the codebase directory - see below) where the ChessTutor.cab and ChessTutor.jar files reside.
Note that Microsoft Internet Explorer 3.0 has problems accessing the images required to run ChessTutorTM when the software is not accessed through the Web, so in the case of using the software on your local PC or workstation, Netscape 3.0 or higher is strongly recommended.
A sample ChessTutor.html file is included which contains a link to the ChessTutorTM applet. This is done in an APPLET section as shown below:
<APPLET codebase="." archive="ChessTutor.jar" code="ChessTutor.class" id="ChessTutor" width="540" height="300"> <PARAM name="cabbase" value="ChessTutor.cab"> <PARAM name="select" value="*** Select a sample game or select another PGN URL ***"> <PARAM name="catalog" value="22hastin.pgz;> <PARAM name="pgn_count" value="2"> <PARAM name="pgn_url1" value="http://www.marochess.de/ChessTutor/22hastin.pgz"> <PARAM name="pgn_url2" value="http://www.marochess.de/ChessTutor/lina1999.pgn"> <PARAM name="background" value="ffffff"> <PARAM name="foreground" value="000080"> <PARAM name="light_square" value="fefffe"> <PARAM name="dark_square" value="008000"> <PARAM name="scale_square" value="80"> <PARAM name="hide_moves" value="0"> <PARAM name="hide_comment" value="0"> <PARAM name="classic" value="1"> <PARAM name="help_file" value="http://www.marochess.de/ChessTutor/ctreadme.html#user_guide"> <B>This page requires a Java enabled browser.</B> </APPLET>
The various settings for the ChessTutorTM applet are explained as follows:
codebase="../my_java"
or
codebase="http://www.my_website.com/my_java"
This file contains a listing of all the available games. A catalog file can either be a standard PGN database, or a compressed PGN database (PGZ). Starting with version 2.1, the old ChessTutorTM native format is no longer supported. If you have databases in this old format, contact us, and we will provide you with a conversion utility which will convert these databases to standard PGN format.
Important
Note that in order to include a PGN game file, either the title must contain the '(PGN)' tag, or the individual PGN file must end have the '.pgn' file extension.
The ChessTutorTM applet provides support for the PGN file format. ChessTutorTM also supports compressed '.pgz' PGN files for multi-game databases. Compressed PGN files have the dual advantage of taking less (about one half) the space on your web site, while also speeding up transmission times over the Web. To generate '.pgz' database files, use the JavaSQZ utility provided at:
The following game shows a sample of the support offered by the ChessTutorTM applet:
[Event "?"]
[Site "Pick of the best Chess Problems, Paperfronts."]
[Date "1994.??.??"]
[Round "?"]
[White "Chess Puzzle #192"]
[Black "?"]
[Result "1-0"]
[SetUp "1"]
[FEN "6b1/B1bR4/B1Q5/p7/2n1p3/2k5/1R6/K7 w - - 0 29"]
29. Qb5
{Threatening 30.Qb3#}
29... Ne5
{29... Nb6 30. Qxa5#
or 29... Nd6 30. Qe5#
or 29... Nxb2 30. Qxb2#}
30. Bd4# 1-0
ChessTutorTM supports the following PGN features:
ChessTutorTM supports automatic updates of a given PGN database.
This feature can be used to show live games as follows: