<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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.12">
<!ENTITY manrevision "2.8">
<!ENTITY date "September 2004">
<!ENTITY app "<application>Four-in-a-Row</application>">
<!ENTITY appname "Four-in-a-Row">
<!ENTITY version "2.8">
]>
<!-- ===== DOCUMENT HEADER ===== -->
<article id="index" lang="zh-CN">
<!-- please do not change the id -->
<!-- translators, change lang to the appropriate code -->
  <articleinfo>
    <title>四子连线小游戏手册</title>
    <abstract role="description">
      <para>四子连线小游戏的目标是，让自己抢在对手之前 ，把四个子摆成一条直线或斜线。这个小游戏可以和电脑玩也可以和其他人对战。</para>
    </abstract>

    <copyright lang="en">
      <year>2001-2002</year>
      <holder>Timothy Musson</holder>
    </copyright>

    <!-- translators: uncomment this:

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

    -->

    <publisher role="maintainer"> 
      <publishername>GNOME 文档项目</publishername> 
    </publisher> 

      <legalnotice id="legalnotice">
	<para>对于本文档的复制、分发和/或修改必须遵循自由软件基金会 (Free Software Foundation) 发布的 GNU 自由文档许可证 (GFDL) 版本 1.1 或更高版本，该许可证没有固定的部分、没有封面和背页文本。您可以在此<ulink type="help" url="ghelp:fdl">链接</ulink>上或在随本手册一起分发的 COPYING-DOCS 文件中找到 GFDL 的副本。</para>
         <para>本手册是在 GFDL 许可之下分发的 GNOME 手册集合的一部分。如果想要单独分发此手册，可以在手册中添加该许可证的一份副本然后分发，如该许可证的第 6 部分所述。</para>

	<para>各个公司使用的许多用于区别它们产品和服务的名称都声明为商标。在所有的 GNOME 文档以及 GNOME 文档项目的成员中，这些名称都是以全大写字母或首字母大写显示，从而表明它们是商标。</para>

	<para lang="en">
	  DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
	  UNDER  THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
	  WITH THE FURTHER UNDERSTANDING THAT:

	  <orderedlist>
		<listitem>
		  <para lang="en">DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
                    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
                    IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
                    THAT THE DOCUMENT OR MODIFIED VERSION OF THE
                    DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR
                    A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
                    RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE
                    OF THE DOCUMENT OR MODIFIED VERSION OF THE
                    DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR
                    MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT,
                    YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY
                    CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
                    SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
                    OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
                    LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
                    VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
                    EXCEPT UNDER THIS DISCLAIMER; AND
		  </para>
		</listitem>
		<listitem>
		  <para lang="en">UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
                       THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
                       CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
                       INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
                       DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION
                       OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH
                       PARTIES, BE LIABLE TO ANY PERSON FOR ANY
                       DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
                       CONSEQUENTIAL DAMAGES OF ANY CHARACTER
                       INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
                       OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
                       MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR
                       LOSSES ARISING OUT OF OR RELATING TO USE OF THE
                       DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
                       EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
                       THE POSSIBILITY OF SUCH DAMAGES.
		  </para>
		</listitem>
	  </orderedlist>
	</para>
  </legalnotice>



    <authorgroup>
      <author lang="en">
        <firstname>Timothy</firstname>
        <surname>Musson</surname>
        <affiliation>
          <!-- <orgname></orgname> -->
          <address><email>trmusson@ihug.co.nz</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>Four-in-a-Row Manual V2.8</revnumber>
        <date>September 2004</date>
        <revdescription>
          <para role="author" lang="en">Timothy Musson
            <email>trmusson@ihug.co.nz</email>
          </para>
          <para role="publisher"/>
        </revdescription>
      </revision>
    </revhistory>

    <releaseinfo>本手册讲述的是四子连线手册2.12版。</releaseinfo>

    <legalnotice>
      <title>反馈</title>
      <para>要报告关于四子连线程序或使用手册中的缺陷，或者提出建议，请参照 <ulink url="ghelp:user-guide?feedback-bugs" type="help">GNOME 反馈页</ulink> 上的指导。</para>
    </legalnotice>
  </articleinfo>


  <!-- ============= Document Body ============================= -->

  <!-- ============= Introduction ============================== -->


  <sect1 id="intro">

    <title>介绍</title>

    <para><application>四子连线</application>是 GNOME 项目中的一个智力游戏，游戏目标是抢在您的对手(其他人或电脑)之前，把四个子摆成一条直线或斜线。</para>

    <para>要运行 <application>四子连线</application> 小游戏，在 <guimenu>主菜单</guimenu> 中点 <guisubmenu>游戏</guisubmenu> 菜单，再点 <guimenuitem>四子连线</guimenuitem> 项，或者在命令行输入 <command>gnect</command></para>

    <para><application>四子连线</application>小游戏包含在 <filename>GNOME 游戏</filename> 软件包内，它是 GNOME 桌面环境的一部分。本手册讲述的是<application>四子连线</application>小游戏2.8版。</para>

   <para lang="en">
     Four-in-a-Row also features multiplayer support with two 
     human players in hotseat mode.
   </para>


  </sect1>


  <!-- ============= Usage ===================================== -->


  <sect1 id="usage">

    <title>基本用法</title>

    <!-- ===== How to play ===== -->

    <sect2 id="playing">

      <title>玩四子连线小游戏</title>

      <para>要开始新一局四子连线游戏，点菜单 <menuchoice><guimenu>游戏</guimenu><guimenuitem>新游戏</guimenuitem></menuchoice>。</para>

      <para><interface>游戏面板</interface>上有六行七列，最上边一行是提示当前该哪个用户落子。每次会落下一个子，落在这一列的最下面。</para>
        
      <para>要落一个子，只需在这一列中点一下即可。要用键盘的话，用左右方向键移动上边的子，按下方向键落子，会落在这一列的最下边。</para>

      <!-- Figure -->
      <mediaobject id="mainwindow-fig" lang="en">
        <imageobject>
          <imagedata fileref="figures/mainwindow.png" format="PNG" srccredit="trm"/>
        </imageobject>
        <textobject>
          <phrase>Four-in-a-Row's Main Window</phrase>
        </textobject>
        <caption><para lang="en">Four-in-a-Row's Main Window</para></caption>
      </mediaobject>

      <para>当一方的四个子排成一条直线或斜线时就羸了，如果面板填满了而谁都没有赢，那就是平局。</para>

    </sect2>
    
    <!-- ===== Commands ===== -->  
    
    <sect2 id="commands">
      <title>操作命令</title>
      <anchor id="menubar"/><!-- id for removed section -->
      
      <para lang="en">To take back a move, choose <menuchoice>
                      <shortcut><keycombo>
                      <keysym>Ctrl</keysym><keycap>Z</keycap>
                      </keycombo></shortcut>
                      <guimenuitem>Undo move</guimenuitem>
                    </menuchoice>.
            If you're playing against a friend, this will undo one
            move. If you're playing against the computer, this will
            undo the computer's last move and then yours.
            Repeating this will return the board to its initial
            state.
      </para>
      <para lang="en">Choose <menuchoice>
                      <shortcut><keycombo>
                      <keysym>Ctrl</keysym><keycap>H</keycap>
                      </keycombo></shortcut>
        <guimenuitem>Hint</guimenuitem>
      </menuchoice> to get a suggestion from the computer for your next move.
      This is shown in the status bar.</para>
      
      <para lang="en">
        Choose <menuchoice>
          <guimenuitem>Scores</guimenuitem>
        </menuchoice> to show a tally of wins and draws
        for the current playing session. The scores will be reset to
        zero if Player Selection is changed in Preferences.
      </para>      

      
    </sect2>  

    <!-- ===== Preferences ===== -->

    <sect2 id="prefsdialog">

      <title>首选项</title>

      <para>要更改游戏的设置，点 <guimenu>设置</guimenu> 菜单，选择 <guimenuitem>首选项</guimenuitem>，打开 <interface>首选项</interface> 对话框。</para>

      <para lang="en">
        Configuration options in the <guilabel>Game</guilabel>
        tab are:

        <variablelist>

          <varlistentry>
            <term lang="en">
              <guilabel>Player One</guilabel> and
              <guilabel>Player Two</guilabel>
            </term>
            <listitem>
              <para lang="en">

                These two columns tell <application>Four-in-a-Row</application> who's playing and, if it is the computer, how hard they play. To play against a friend, select
                Human for both Player One and Player Two.

              </para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term lang="en"><guilabel>Theme</guilabel></term>
            <listitem>
              <para lang="en">
                The theme menu lists available themes and lets
                you choose your favourite.
              </para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term lang="en"><guilabel>Enable Animation</guilabel></term>
            <listitem>
              <para lang="en">
                Here you can toggle the game's animation on or off.
              </para>
            </listitem>
          </varlistentry>

        </variablelist>
      </para>
      <para>最后是 <guilabel>控制</guilabel> 标签，可以设定键盘操作。要更改一项控制，双击对应的项，然后输入一个新的按键。</para>

    </sect2>
  </sect1>


  <!-- ===== Custom Themes ===================================== -->


  <sect1 id="custom">

    <title>创建新主题</title>

    <para>这一节包含制作<application>四子连线</application>新主题的内容，假定您已经熟悉基本的文本编辑、图片处理和命令行操作。</para>

    <sect2 id="images">

      <title>图片</title>

      <para><application>四子连线</application>的面板包括相等的格子，从左到右排成水平一行：</para>

      <orderedlist>
        <listitem>
          <para>玩家一的弹珠出现在面板上</para>
        </listitem>
        <listitem>
          <para>玩家二的弹珠出现在面板上</para>
        </listitem>
        <listitem>
          <para>游戏面板的背景</para>
        </listitem>
        <listitem>
          <para>顶部行的背景</para>
        </listitem>
        <listitem>
          <para>玩家一的弹珠出现在面板上边的行中</para>
        </listitem>
        <listitem>
          <para>玩家二的弹珠出现在面板上边的行中</para>
        </listitem>
      </orderedlist>

      <figure id="shot1">
        <title>面板的例子</title>
        <screenshot>
          <screeninfo>这幅图片显示了面板中六个格子的状况</screeninfo>
          <graphic format="PNG" fileref="figures/tileset.png" srccredit="TRM"/>
        </screenshot>
      </figure>

      <para>格子三和四要覆盖游戏面板和顶部行，除非在主题文件中指定了全屏背景图片。</para>

      <tip>
        <title>小提示</title>
        <para>推荐使用 PNG 图片作为格子设置。如果想让背景显示的话，第一、二、五和六格子应该包含一些透明部分。第三和四格子应该是实心不透明的，甚至使用全屏背景图的时候也是这样。</para>
      </tip>

      <tip>
        <title>小提示</title>
        <para>格子可以是方块或矩形的，或者其他您喜欢的形状。<application>四子连线</application> 里大部分的格子是使用50×50像素的方块。</para>
      </tip>

      <para>对于全屏背景图片，还有一点工作要做。假设您的格子边长是50像素。游戏会显示7×7个格子，包括了顶部的一行，这样背景图片就是350×350像素。</para>

      <tip>
        <title>小提示</title>
        <para><application>四子连线</application> 会自动缩放背景图片，如果没有其他的设置。这意味着您可以制作“大”、“小”两个版本的主题，都使用相同的一幅背景图，只要有一个大的和小的格子图。</para>
      </tip>

      <para>因此，您可以制作一个格子图和它配套的背景图，下一步就是把它们放在正确的位置上。</para>

    </sect2>


    <sect2 id="directories">

      <title>放置在一起</title>

      <para>最后一步是把图片放到<application>四子连线</application>可以找到的地方，您可以把它们放在四子连线的安装文件夹中(这取决于您的系统)，但放在自己的主文件夹中，将是一个更好的主意。</para>

      <para>创建一个 <filename class="directory">~/.gnect</filename> 文件夹和一个 <filename class="directory">~/.gnect/pixmaps</filename> 文件夹，文件名很重要，错了的话<application>四子连线</application>将不能找到它们。</para>

      <para>把图片复制到 pixmaps 文件夹中。</para>

      <para>如果您从命令行启动<application>四子连线</application>，它会给出一些新主题出错的信息，如果没有出错，您就会在 <interface>首选项对话框</interface> 中，看到新的主题。</para>

      <para>开心玩吧！</para>

    </sect2>


  </sect1>


  <!-- ===== Bugs ============================================== -->


  <sect1 id="bugs">

    <title>已知缺陷和限制</title>

    <para>有时候一个弹珠下落的动画看起来不是那么平滑顺畅。</para>

  </sect1>


  <!-- ===== Authors =========================================== -->


  <sect1 id="authors">

    <title>作者</title>

    <para><application>四子连线</application>小游戏由 Timothy Musson (<email>trmusson@ihug.co.nz</email>) 和 David Neary (<email>bolsh@gimp.org</email>)编写，许多人也在<application>四子连线</application>项目启动后，花费时间多次帮助它。</para>
    <para><ulink type="http" url="http://www.ce.unipr.it/~gbe/velena.html">Velena Engine</ulink>，<application>四子连线</application>的主要电脑玩家程序，由 Giuliano Bertoletti 编写，我们非常感谢他允许使用他的成果，没有它 <application>四子连线</application> 也就没有什么可玩性了。</para>
    <para>本手册由 Timothy Musson 编写。</para>
    <para>要报告本程序或本手册的缺陷或者提出建议，请参照 <ulink url="ghelp:user-guide?feedback-bugs" type="help">文档</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>


  <!-- ============= 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 url="http://www.fsf.org" type="http">their Web site</ulink> or
      by writing to
      <address lang="en">
        Free Software Foundation, Inc.
        <street>59 Temple Place</street> - Suite 330
        <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
        <country>USA</country>
      </address>
    </para>

  </sect1>

</article>
