<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY appversion "2.18">
<!ENTITY manrevision "2.18">
<!ENTITY date "December">
<!ENTITY app "<application>Chess</application>">
<!ENTITY appname "Chess">
<!ENTITY version "2.22">
]>
<!--
      (Do not remove this comment block.)
  Maintained by the GNOME Documentation Project
  http://developer.gnome.org/projects/gdp
  Template version: 2.0 beta
  Template last modified Feb 12, 2002
-->
<!-- =============Document Header ============================= -->
<article id="index" lang="zh-CN">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
<articleinfo>
 <title><application>国际象棋</application>手册</title>

 <abstract role="description">
       <para lang="en">
	GNOME Chess is a game for playing the classic board game of chess,
	in which two players simulate a battle by capturing the opponents
	pieces and ultimately the king. It can be played in 2D or 3D mode,
	full screen or in a window.
       </para>
 </abstract>
 <copyright lang="en">
  <year>2006-2008</year>
  <holder>Andreas Røsdal</holder>
 </copyright>
<!-- translators: uncomment this:

  <copyright>
   <year>2002</year>
   <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
  </copyright>

   -->
<!-- An address can be added to the publisher information.  If a role is
     not specified, the publisher/author is the same for all versions of the
     document.  -->
    <publisher role="maintainer">
      <publishername>GNOME 文档项目</publishername>
    </publisher>

   
   <!-- This file  contains link to license for the documentation (GNU FDL), and
        other legal stuff such as "NO WARRANTY" statement. Please do not change
	any of this. -->

    <authorgroup>
      <author lang="en">
	<firstname>Andreas</firstname>
	<surname>Røsdal</surname>
	<affiliation>
	  <address> <email>andrearo@pvv.ntnu.no</email> </address>
	</affiliation>
      </author>
<!-- This is appropriate place for other contributors: translators,
      maintainers,  etc. Commented out by default.
       <othercredit role="translator">
	<firstname>Latin</firstname>
	<surname>Translator 1</surname>
	<affiliation>
	  <orgname>Latin Translation Team</orgname>
	  <address> <email>translator@gnome.org</email> </address>
	</affiliation>
	<contrib>Latin translation</contrib>
      </othercredit>
-->
    </authorgroup>

	<releaseinfo revision="2.26" role="review"/>

<revhistory>
      <revision lang="en">
	<revnumber>Chess Manual V2.18</revnumber>
	<date>December</date>
	<revdescription>
	  <para role="author" lang="en">Andreas Røsdal
	    <email>andrearo@pvv.ntnu.no</email>
	  </para>
	  <para role="publisher" lang="en">GNOME Documentation Project</para>
	</revdescription>
      </revision>
  <revision lang="en">
   <revnumber>1</revnumber>
   <date>December 2006</date>
   <authorinitials>AR</authorinitials>
   <revremark>
   First draft completed.
   </revremark>
  </revision>
 </revhistory>

    <releaseinfo>本手册讲述的是国际象棋2.18版。</releaseinfo>
    <!-- The following feedback information only applies to applications
    listed in bugzilla.gnome.org and bugzilla.ximian.com. For other
    applications, please provide your own feedback info or remove thsi
    section altogether -->
    <legalnotice>
      <title>反馈</title>
      <para>要报告关于<application>国际象棋</application>程序或使用手册中的缺陷，或者提出建议，请参照 <ulink url="ghelp:user-guide?feedback-bugs" type="help">GNOME 反馈页</ulink> 上的指导。</para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice>

</articleinfo>

  <indexterm zone="index" lang="en">
    <primary>GNOME Chess</primary>
  </indexterm>

<!-- ============= Document Body ============================= -->
<!-- ============= Introduction ============================== -->
<sect1 id="intro">
 <title>介绍</title>
 <sect2 id="what">
  <title>概述</title>

  <para lang="en">
	Chess is a two-player strategy board game. <application>GNOME Chess</application> is a 2D/3D chess game, where games
	can be played between a combination of human and computer players. GNOME Chess detects known third party chess engines
	for computer players. The game was originally developed by Robert Ancell, now the game is included in gnome-games.
  </para>

  <para lang="en">
	<application>GNOME Chess</application> is written in Python and uses GTK+ and Cairo to render the chess board. 3D support is
	optionally available using OpenGl,
	using the Python OpenGL and GtkGLExt libraries. As with most modern 3D programs hardware acceleration is recommended but it should
	run OK in software. GNOME Chess is bundled with GNU Chess as the default chess AI. GNOME Chess can be played in network mode against
	other players on the Internet.
  </para>
  <para>国际象棋的棋盘是正方形的，有64个格子颜色相互交替。每一方有16个棋子：一个王、一个后、两个车、两个马、两个象和8个兵。一方控制白棋另一方控制黑棋，白棋一方先走，双方轮流走棋，当移动时“吃掉”了对方的棋子，就要把它从棋盘上拿走。获胜的条件是把对方的王将死，这时候的王正在被攻击且无处可逃。这个游戏一发明，就形成了广泛的战术策略。</para>
<para>现代游戏从十五世纪后半叶欧洲南部类似游戏发展而来，更古老的游戏起源于亚洲。国际象棋是一个世界范围内最流行的棋类之一。传统的竞技比赛开始于十六世纪，第一个世界冠军，维尔赫姆.斯坦尼茨在1886年获得冠军头衔，弗拉基米尔·鲍里索维奇·克拉姆尼克获得第14届世界冠军。还有一个每两年一次的世界性比赛称作国际象棋奥林匹克。自从20世纪以来，两个国际组织，世界国际象棋联合会和国际象棋国际通信赛协会组织和举办了顶级比赛和通信赛。</para>
<para>早期的电脑专家想创建一个国际象棋游戏机，现在国际象棋在电脑程序中已经深入开发。1997年，一场人机大战在加里·卡斯帕罗夫和 IBM 超级电脑“深蓝”对弈，证明电脑甚至可以击败最强大的人类棋手。</para>

  <para lang="en">
   To run <application>GNOME Chess</application>, select
   <guimenuitem>Chess</guimenuitem> from the
   <guisubmenu>Games</guisubmenu> submenu of the <guimenu>Main
   Menu</guimenu>, or type <command>gnome-chess</command> on the
   command line.
  </para>
 </sect2>

</sect1>


<sect1 id="playing-gnome-chess">
 <title lang="en">Playing GNOME Chess</title>
 <sect2 id="main-game-window">
<title>游戏主窗口</title>

     <para lang="en">
Starting GNOME Chess displays the main game window as shown below. The game is played
by moving chess pieces using the mouse. Each player alternates to move a piece in the appropriate
colour, from one board position to another valid board position.
The main game window is organized in three main areas: In the top menu and toolbar area,
most common game actions can be made. The chess board is in the middle of the window,
where the game is played by moving chess pieces using the mouse. Finally, the game
history panel is shown at the bottom, where information about the game history, the remaining
move time and buttons for showing previous or next moves are available.
</para>

 <figure id="main-game-shot">
  <title lang="en">Main window in GNOME Chess</title>
  <screenshot>
    <mediaobject lang="en">
    <imageobject>
  <imagedata fileref="figures/game-3-12.png" format="PNG" srccredit="Andreas"/>
   </imageobject>
    <textobject>
      <phrase>Main window in GNOME Chess.</phrase>
    </textobject>
  </mediaobject>
  </screenshot>
 </figure>
</sect2>

<sect2>
<title>开始一个新的游戏</title>
<para lang="en">
To start a new game, press the <guibutton>New Game</guibutton> button on the toolbar.
</para>
</sect2>




<sect2 id="menubar">
   <title>菜单</title>
   <para>菜单栏位于<interface>主窗口</interface>的顶部，包含下列菜单项：</para>

   <variablelist>
    <varlistentry>
     <term lang="en"><guimenu>Game</guimenu></term>
     <listitem>
      <para lang="en">
       This menu contains:
       <itemizedlist>
        <listitem>
         <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>Ctrl+N</keysym>
           </shortcut>
           <guimenuitem>New</guimenuitem>
          </menuchoice>
           This starts a new game of <application>Chess</application>.
         </para>
        </listitem>
	<listitem>
         <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>Ctrl+O</keysym>
           </shortcut>
           <guimenuitem>Open</guimenuitem>
          </menuchoice>
           Loads a previously saved game.
         </para>
        </listitem>
	<listitem>
         <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>Ctrl+S</keysym>
           </shortcut>
           <guimenuitem>Save</guimenuitem>
          </menuchoice>
           Saves the current game of chess.
         </para>
        </listitem>
	<listitem>
         <para lang="en">
          <menuchoice>
           <guimenuitem>Save As</guimenuitem>
          </menuchoice>
           Saves the current game of chess with a new filename.
         </para>
        </listitem>

        <listitem>
         <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>Ctrl+L</keysym>
           </shortcut>
           <guimenuitem>Network Game</guimenuitem>
          </menuchoice>
           This starts a network multiplayer game using GGZ Gaming Zone.
         </para>
        </listitem>
        <listitem>
         <para lang="en">
          <menuchoice>
           <guimenuitem>Resign</guimenuitem>
          </menuchoice>
           To concede loss of the game, so that the opponent wins the game.
         </para>
        </listitem>
        <listitem>
         <para lang="en">
          <menuchoice>
           <guimenuitem>Claim Draw</guimenuitem>
          </menuchoice>
	    If a claimed draw is accepted, the game ends without victory for either player.
          </para>
        </listitem>
        <listitem>
         <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>Ctrl+Q</keysym>
           </shortcut>
           <guimenuitem>Quit</guimenuitem>
          </menuchoice>
	 Ends the game.
         </para>
        </listitem>
       </itemizedlist>
      </para>
     </listitem>
    </varlistentry>


    <varlistentry>
     <term lang="en"><guimenu>View</guimenu></term>
     <listitem>
      <para lang="en">
       This menu contains:
       <itemizedlist>
        <listitem>
         <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>F11</keysym>
           </shortcut>
           <guimenuitem>Fullscreen</guimenuitem>
          </menuchoice>
           Shows the game window in fullscreen mode.
         </para>
        </listitem>
	<listitem>
         <para lang="en">
          <menuchoice>
           <guimenuitem>3D Chess View</guimenuitem>
          </menuchoice>
           Enables 3D chess view mode using OpenGL. This requires Python OpenGL and Python GTKGLExt installed,
	   in addition to a 3D graphics card setup properly. Please contact your system administrator if you have problems,
	   either way you will always be able to play chess in 2D mode.
         </para>
        </listitem>
	 <listitem>
         <para lang="en">
          <menuchoice>
           <guimenuitem>Show Logs</guimenuitem>
          </menuchoice>
	  Show logs for debugging GNOME Chess and the active chess AI engines.
         </para>
        </listitem>
     </itemizedlist>
      </para>
     </listitem>
    </varlistentry>

   <varlistentry>
     <term lang="en"><guimenu>Settings</guimenu></term>
     <listitem>
      <para lang="en">
       This menu contains:
       <itemizedlist>
        <listitem>
         <para lang="en">
          <menuchoice>
           <guimenuitem>Preferences</guimenuitem>
          </menuchoice>
            This opens your window to edit <link linkend="prefs">
           preferences.</link>
         </para>
        </listitem>
       </itemizedlist>
      </para>
     </listitem>
    </varlistentry>

    <varlistentry>
     <term lang="en"><guimenu>Help</guimenu></term>
     <listitem>
      <para lang="en">
       This menu contains:
       <itemizedlist>
        <listitem>
          <para lang="en">
          <menuchoice>
           <shortcut>
            <keysym>F1</keysym>
           </shortcut>
           <guimenuitem>Contents</guimenuitem>
          </menuchoice>
           Display this manual.
         </para>
         <para lang="en">
          <guimenuitem>About</guimenuitem>  This opens the
          <interface>About</interface> dialog which shows
          basic information about
          <application>GNOME Chess</application>, such as
          the author's name, the version number of the game.
         </para>
        </listitem>
       </itemizedlist>
      </para>
     </listitem>
    </varlistentry>
   </variablelist>


</sect2>


</sect1>


<sect1 id="chess-rules">
 <title>行棋规则</title>
 <sect2 id="rules-of-chess">
  <title>国际象棋的走棋规则</title>
<!--
The reference for this chapter is http://en.wikipedia.org/wiki/Chess
-->
  <para>国际象棋是在一个正方形的棋盘中走棋，由八条横格线(称作“横线”，用数字1到8表示)和八条竖格线组成(称作“纵线”，用字母 a 到 h 表示)。六十四个格子的颜色由浅色和深色交替排列，称作“白格”和“黑格”。棋盘摆放时，玩家的右下角应当是白格，棋子摆放见示意图，双方的后放在跟自己颜色相同的格子里。</para><para>开始时双方各有十六个棋子：一个王、一个后，两个车、两个象、两个马和八个兵。一方，比如白方，控制白子，另一方，黑方控制黑子，白方总是先走。颜色的选择可以双方协商，或者抽签，或者由联赛决定。双方在轮流走棋每次走一个子(有一个例外是车，同时可以移动两个子)。棋子可以移动到其他空着的格子里，或位置上有对方的子，但是可以吃掉它，把它从棋盘上拿掉。除了一个例外(吃过路兵)，其他棋子吃掉对方的子后，放到对方子的位置上。</para>
 <sect3 id="rules-piece-king">
  <title>王</title>
<para>当王受到对方一个子(也可能两个子)的攻击时，称作是“将军”，此时只允许解除王被“将”的移动，而不允许其他移动。游戏的目标就是将死对方的王，使得对方再没有招法可以解救王。</para><para>王每次只能移动一格，横着、竖着、斜着都可以。在游戏中，王只允许有一次特殊的双移动，王车易位，王朝车的方向移动两格，然后车越过王放在王旁边的格子里。王车易位必须满足下面的条件：</para>
<itemizedlist spacing="compact">
  <listitem>
   <para>要易位的王和车之前都没有移动过。</para>
  </listitem>
  <listitem>
   <para>王和车之间没有其他的棋子。</para>
  </listitem>
  <listitem>
   <para>王没有处于被将状态，王车易位中间的路途也不会被将。任何使王受到攻击的易位，都是不合法的。</para>
 </listitem>
  <listitem>
   <para>王和车必须在同一横线上(排除用兵升变的车来易位)。</para>
  </listitem>
</itemizedlist>
</sect3>
 <sect3 id="rules-piece-rook">
  <title>车</title>
<para>车可以移动多个方格，只要没有子挡着，可以横着也可以竖着(还可以跟王进行特殊的王车易位)。</para>
</sect3>
 <sect3 id="rules-piece-bishop">
  <title>象</title>
<para>象也可以移动多个方格，只能走斜线，方向没有限制。注意，象只能在一种颜色的格子里移动，因此，玩家常说“白象”或“黑象”。</para>
</sect3>
 <sect3 id="rules-piece-queen">
  <title>后</title>
<para>后可以移动多个空格，横着、竖着、斜着都可以。</para>
</sect3>
 <sect3 id="rules-piece-knight">
  <title>马</title>
<para>马可以跳过一个阻挡的格子，两个横格一个竖格，反过来也一样，大概走出一个“L”形。在棋盘中间的马，可以朝八个方向移动。注意，每次马移动后，都会走到另外一种颜色的格子里。</para>
</sect3>
 <sect3 id="rules-piece-pawns">
  <title>兵</title>
<para>兵的移动规则最复杂：兵只能往前移动一个空格，但如果这个兵还没走过，那么它第一次移动可以走两格，兵不能后退。当一个兵初次走两格时，恰好落在敌方兵的旁边，(这时轮敌方走棋)敌方兵可以斜着向前走到己方这个兵的后面吃掉这个兵，称为吃“过路兵”，就好像己方这个兵只走了一格被斜吃掉，这种吃子必须在对方行棋后立即进行。兵是唯一吃不在自己走棋路线上的子(例如，它们的两个格子是对角的)，但是如果这个对角位置是空的，则不能移动过去(直走斜吃)。如果兵走完所有格子到达第八个横线，就可以提升(升变)为一个后、车、马，或者同格颜色的象。在实际行棋中，几乎总是变为后。</para>
</sect3>

<sect3 id="rules-movement-others">
<title>空余移动规则</title>
<para>除了马例外，棋子不能越过其他子。一个自己的棋子(“己方”)如果恰好挡在路上，则不能被跳过，也不能被替换。敌方的子也不能跳过，但可以“吃掉”它。当一个棋子被吃掉(或提掉)，要立即从棋盘上拿走，不能再放回来。王不能被吃掉，只能被将军，如果王不能摆脱将军，则被将死，失去这一局棋。</para><para>游戏结束不一定非得到将死 — 玩家可以在行棋无望时认输。游戏也可以平局(和棋)结束，平局发生在多种情况，包括双方同意和棋、三次重复同样局面、五十回合移动规则，或者不可能将死(通常是棋子不够)情况。</para>
</sect3>
</sect2>


<sect2 id="timed-games">
<title>限时游戏</title>
<para>在开始新游戏对话框中，可以选择走棋时间限制模式，玩家双方必须在规定时间内走棋，每次走棋时会开始倒数计时。</para>
</sect2>

<sect2 id="draw">
<title>平局</title>
<para>游戏结束时双方都没有赢，大多数平局是基于协商的。能造成平局的有王被僵死、三次重复棋局、五十回合规则、棋子不足。不论是己方还是对方，正常走棋还是被迫形成平局条件，就可以提出和棋要求。</para>


<sect3 id="stalemate">
<title>僵局</title>
<para>僵局是指这样一种情形，轮到一方走棋时，没有合法的走棋步骤，而这时王也没有被将军。出现僵局时总是立即判和棋。</para>
</sect3>

<sect3 id="threefold-repetition">
<title lang="en">Threefold repetition</title>
<para>如果发生同一个棋手走出三次相同的盘面，双方走棋都符合规定(包括吃过路兵和王车易位)，这时候可以判定平局。</para>
</sect3>


<sect3 id="fifty-move-rule">
<title>五十回合规则</title>
<para>如果双方五十回合内没有移动过兵，也没有吃子，就可以判和棋。</para>
</sect3>

<sect3 id="insuff-material">
<title>棋子不足</title>
<para>游戏结尾时，双方所有的兵都被吃掉，一方只剩下王，另一方也只剩下王或者王和一个马/象。这种情况下也是和棋，因为任何一方都不能够将死对方，只能是一方走错会被将死。这种情况也符合五十回合规则。</para>
</sect3>


</sect2>

</sect1>




<sect1 id="prefs">
 <title>游戏设置</title>


<sect2 id="game-prefs">
  <title>游戏首选项</title>
  <para lang="en">
  The <interface>Game</interface> tab of the <interface>Preferences</interface>
  dialog allows you to set up the settings of your choice for new games.
  In the <interface>Opposing player</interface> section, it is possible to
  setup the number of human and AI (computer) players. If you have installed any supported
  chess engines as AI players, these will be displayed in the list of available players.
  The difficulty setting of the AI players is set in the  <interface>Difficulty</interface>
  section. Finally, the time-limit for each player's move is set in the
  <interface>Game Duration</interface> section.
  </para>

 <figure id="preferences-game-shot">
  <title lang="en">Game preferences dialog for GNOME Chess</title>
  <screenshot>
    <mediaobject lang="en">
    <imageobject>
  <imagedata fileref="figures/preferences-game-3-12.png" format="PNG" srccredit="Andreas"/>
   </imageobject>
    <textobject>
      <phrase>Game preferences dialog for GNOME Chess.</phrase>
    </textobject>
  </mediaobject>
  </screenshot>
 </figure>


</sect2>



<sect2 id="view-prefs">
  <title lang="en">Appearance Preferences</title>
  <para lang="en">
  The <interface>Appearance</interface> tab of the <interface>Preferences</interface>
  dialog allows you to modify board orientation, move format, and the general look
  and feel of GNOME Chess.
  </para>

 <figure id="preferences-appearance-shot">
  <title lang="en">Appearance preferences dialog for GNOME Chess</title>
  <screenshot>
    <mediaobject lang="en">
    <imageobject>
  <imagedata fileref="figures/preferences-appearance-3-12.png" format="PNG" srccredit="Andreas"/>
   </imageobject>
    <textobject>
      <phrase>Appearance preferences dialog for GNOME Chess.</phrase>
    </textobject>
  </mediaobject>
  </screenshot>
 </figure>


</sect2>

</sect1>


<sect1 id="engines">
 <title>国际象棋机器人引擎</title>

     <para lang="en">
	GNOME Chess should be able to use any Chess Engine Communication Protocol or Universal Chess Interface compatible chess engines, including these chess engines:

     </para>

<!-- Please keep AI list synchronized with gnome-chess/data/ai.xml -->
<itemizedlist spacing="compact">
  <listitem>
	<para>GNUChess</para>
  </listitem>
  <listitem>
	<para>Sjeng</para>
  </listitem>
  <listitem>
	<para>Amy</para>
 </listitem>
  <listitem>
	<para>Crafty</para>
  </listitem>
  <listitem>
	<para>Faile</para>
  </listitem>
  <listitem>
	<para>Phalanx</para>
  </listitem>
  <listitem>
	<para>Glaurung</para>
  </listitem>
  <listitem>
	<para>HoiChess</para>
  </listitem>
  <listitem>
	<para>Diablo</para>
  </listitem>
  <listitem>
	<para>BBChess</para>
  </listitem>
  <listitem>
	<para>Fruit</para>
  </listitem>
  <listitem>
	<para>Shredder</para>
  </listitem>
  <listitem>
	<para>Toga II</para>
  </listitem>
  <listitem>
	<para>Boo's Chess Engine</para>
  </listitem>


</itemizedlist>

</sect1>

<sect1 id="credits">
 <title>作者</title>
  <para lang="en">
   <application>GNOME Chess</application> was written by Robert Ancell,
   and is now maintained in gnome-games. This documentation was originally written
   by Andreas Røsdal, with input from several GPL sources.
   To report a bug or make a suggestion regarding this application or
   this manual, follow the directions in this
   <ulink url="ghelp:user-guide?feedback-bugs" type="help">document</ulink>.
  </para>

  <!-- For translations: uncomment this:

  <para>
   Latin translation was done by ME
   (<email>MYNAME@MYADDRESS</email>). Please send all  comments  and
   suggestions regarding this translation to SOMEWHERE.
  </para>

  -->

 </sect1>


 <!-- ============= Application License ============================= -->

 <sect1 id="license">
  <title>许可协议</title>
  <para>本程序是自由软件，您可以在遵守自由软件基金会发布的 <citetitle>GNU 通用许可证</citetitle> 第2版或更高(如您所愿)版本下，重新分发和/或修改它。</para>
  <para>本程序的发布意图是希望它有所用处，但请注意它没有任何担保，甚至不包括商业用途、以及特殊目的保证。更多相关细节，请参阅 <citetitle>GNU 通用公共许可证</citetitle>。</para>
  <para lang="en">
   A copy of the <citetitle>GNU General Public License</citetitle> is
   included as an appendix to the <citetitle>GNOME Users
   Guide</citetitle>.  You may also obtain a copy of the
   <citetitle>GNU General Public License</citetitle> from the Free
   Software Foundation by visiting <ulink type="http" url="http://www.fsf.org">their Web site</ulink> or by writing to
   <address lang="en">
    Free Software Foundation, Inc.
    <street>51 Franklin Street</street> - Fifth Floor
    <city>Boston</city>, <state>MA</state> <postcode>02110-1335</postcode>
    <country>USA</country>
   </address>
  </para>
 </sect1>
</article>
