J!Chess Viewer version 1.00 Readme File Copyright (C) 2000, YanCheng.Cheok yccheok@yahoo.com http://i.am/cchess ============================================================================= J!Chess Viewer is a Java Applet which can demonstrate chess game on web site. J!Chess is developed by using JDK 1.1.2 Copyright/Disclaims =================== J!Chess Viewer is free for personal non-commercial use. Any use for commercial purpose is prohibited. This software is provided AS IS, WITHOUT WARRANTY OF ANY KIND. THE AUTHOR OF THIS SOFTWARE DISCLAIMS ALL WARRANTIES OF ANY KIND. IN NO EVENT SHALL THE AUTHOR OF THIS SOFTWARE BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF THE AUTHOR OF THIS SOFTWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Registration ================== Please send following information to yccheok@yahoo.com. Registration is required if you would like to obtain email support. User Name: Email Address: Web Site URL: Comments: Basic Concept ================== 1. Chess Board Position The location of piece on the board is determined by the X and Y position. The X position ranges from a to h The Y position ranges from 1 to 8(See picture) Black --------------------------------- | | | | | | | | | 8 | | | | | | | | | --------------------------------- | | | | | | | | | 7 | | | | | | | | | --------------------------------- | | | | | | | | | 6 | | | | | | | | | --------------------------------- | | | | | | | | | 5 | | | | | | | | | --------------------------------- | | | | | | | | | 4 | | | | | | | | | --------------------------------- | | | | | | | | | 3 | | | | | | | | | --------------------------------- | | | | | | | | | 2 | | | | | | | | | --------------------------------- | | | | | | | | | 1 | | | | | | | | | --------------------------------- a b c d e f g h white 2. Coordinate Notation and Algebraic Notation For more information about coordinate notation, please visit http://www.exeter.ac.uk/~dregis/DR/notation.txt Quick Start =================== 1. Unzip chessviewer.zip which contains jchess.jar (You need to upload this file to your web site) piece.gif (You need to upload this file to your web site) readme.txt (The file that you are reading now) a.html (example on how J!Chess look like) 2. Upload jchess.jar and piece.gif to your web site (in the same directory). Don't unzip the jchess.jar 3. Add following code to your html. 4. Modify the applet size by changing the value of width and height. The standard size is 511 and 467. 5. Modify applet parameter values. Do not change the parameter name. "position" The initial position of pieces. Each piece is represented by two characters (X position and Y Position). The normal start position for these 32 piece is a1b1c1d1e1f1g1h1a2b2c2d2e2f2g2h2a8b8c8d8e8f8g8h8a7b7c7d7e7f7g7h7 If you want remove one piece at start up, just change that piece postion to "z0". (See end game example). "movenotation" 1 means coordinate notation, 2 means algebraic notation "whomovefirst" 0 means white move first, 16 means black move first "themovelist" Each move step follows the format of e2-e4[comment] for coordinate notation. If you do not have comment for that step, there must be an empty "[]" for that step. The move list could be very long, do not add line break in the middle of the move list. Just keep it in one line. "whiteplayer" The name of white player. "blackplayer" The name of black player. "gameinfomation" The information about this game. 6. End game example