<?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.14">
<!ENTITY manrevision "2.9">
<!ENTITY date "January 2006">
<!ENTITY app "<application>Mines</application>">
<!ENTITY appname "Mines">
<!ENTITY version "2.14">
]>
<!-- 
      (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>
	Mines is GNOME's take on the popular logic puzzle minesweeper, 
	which includes avoiding mines while receiving clues for 
	the location of the mines.
      </para>
    </abstract>
    <copyright>
      <year>2006</year>
      <holder>Callum McKenzie</holder>
<!--   Based on an earlier manual by   <holder>Tim Riehle</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> 
      <publishername>GNOME 文档项目</publishername> 
    </publisher> 

     <legalnotice id="legalnotice">
        <para>这份文档是双重授权的。您可以遵循<ulink type="help" url="gnome-help:gpl">GNU 通用公共许可证</ulink>来发布和/或修改它，这也是<link linkend="license">此程序的遵循许可</link>，或者您可以在 GNU 自由文档许可证下分发它。要带有这段文字的副本。</para>

	<para>对于本文档的复制、分发和/或修改必须遵循自由软件基金会发布的 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>本文档以及文档的修改版本都是在遵循 GNU 自由文档许可证的条款下提供，这表示具有以下含义：<orderedlist>
		<listitem>
		  <para>文档按“原样”提供，不提供任何明示或暗示的保证，包括但不限于：文档或文档的修改版本没有适销性方面的缺陷、适合特定目的的适用性，以及没有侵权行为。您将自行承担本文档以及文档修改版本的质量、准确性以及性能方面的风险。如果任何文档或文档修改版本存在缺陷，您(而不是最初的编写者、作者或撰写人)将承担所有必需的服务、维修或更正的费用。此免责声明是本许可证的重要组成部分。如果不接受此免责声明，那么您就没有权利使用任何文档或文档的修改版本；并且</para>
		</listitem>
		<listitem>
		  <para>无论在任何情况以及在任何法律理论下，本文档或文档修改版本的作者、最初的编写者、任何撰写人或任何分发者，或者任意这些方的任何提供者都不对任何人由于使用本文档或文档修改版本引起或带来的任何直接的、间接的、特殊的、偶然的或继发的损失承担任何民事(包括疏忽)、合同或其它方面的责任，这些损失包括但不限于信誉损失、工作停止、计算机失败或故障，或任何以及所有其它损失或由此引发的或与之相关的损失，即使这些方已被告知存在出现此类损失的可能性时也是如此。</para>
		</listitem>
	  </orderedlist></para>
  </legalnotice>


   <!-- 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 role="maintainer"> 
	<firstname>Callum</firstname> 
	<surname>McKenzie</surname> 
	<affiliation> 
	  <address> <email>callum@spooky-possum.org</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> 
	<revnumber>扫雷手册 版本2.9</revnumber> 
	<date>2006年1月</date> 
	<revdescription> 
	  <para role="author">Callum McKenzie <email>callum@spooky-possum.org</email></para>
	  <para role="publisher">GNOME 文档项目</para>
	</revdescription> 
      </revision> 
    </revhistory> 

    <releaseinfo>本手册描述的是扫雷的2.14版本。</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="http://bugzilla.gnome.org">GNOME 错误报告数据库</ulink>的说明。</para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice>
  </articleinfo>

  <indexterm zone="index"> 
    <primary>GNOME扫雷</primary> 
  </indexterm>
  
 <!-- ============= Document Body ============================= -->

 <!-- ============= Introduction ============================== -->
  <sect1 id="intro">
    <title>简介</title>

    <para>
     <application><application>Mines</application></application> is a puzzle game where you
     locate mines floating in an ocean using only your brain and a
     little bit of luck.  
    </para>

    <para>
      You start the game with a grid of covered squares and no idea what is in them. Clicking on a square reveals
      what is in it: either empty ocean or a mine. If you
      find a mine bad things happen and the game is over. If you
      uncover an empty square, you survive and get to try again. We do
      give you a bit of help; if you find an empty piece of ocean
      a number is printed there telling you how many mines are in the 
      adjacent squares (or no number if there are no nearby
      mines). Once you find a few clear squares you can start to
      deduce which squares have mines in them and which don't. You win
      the game once you have revealed all the un-mined squares and
      marked all the mined squares.
    </para>

    <figure id="main-window">
      <title>游戏的过程：开始，进行游戏，失败，和胜利。</title>
    	    <mediaobject><imageobject>
    	      <imagedata fileref="figures/main-window.png" format="PNG"/>
	    </imageobject></mediaobject>
    </figure>

    <para>
      To mark a square as having a mine you right-click on it and a
      flag is placed there. If you click on a square with a number and
      you have placed precisely that number of flags on adjacent
      squares then the remaining squares are revealed. If you didn't
      mark the mines correctly then an explosion will occur and the game
      is over. Squares with no adjacent mines (i.e. blank squares)
      have their adjacent squares automatically cleared.  
    </para>

    <figure id="status-bar">
      <title>重要的信息。</title>
    	    <mediaobject><imageobject>
	    <imagedata fileref="figures/statusbar.png" format="PNG"/>
	    </imageobject></mediaobject>
    </figure>

    <para>正在为您计时。为了取得好的成绩，你必须又快又准地进行游戏。一旦你发现了所有的地雷并揭开所有无地雷的方块，停止计时。您的分数就是所用的时间；越短越好。</para>

    <para>您已用的时间在窗口的右下角显示。在它旁边，左侧，是对您已扫出的雷的数目的统计以及隐藏在盘面上的总数。</para>

    <figure id="faces">
      <title>黄脸表示您进行游戏时的状况。</title>
    	    <mediaobject><imageobject>
	    <imagedata fileref="figures/faces.png" format="PNG"/>
	    </imageobject></mediaobject>
    </figure>

    <!-- Face graphics image. -->

  </sect1>


  <sect1 id="details">
    <title>细节</title>

    <para>
      This section provides information on the controls and the
    important menu items. If you need help figuring where the
    mines are, see the <link linkend="strategy">strategy section</link>.
    </para>

    <sect2>
      <title>目标</title>

      <para>
        Starting from an ocean of squares with unknown contents
	you must mark all the squares with mines and reveal all the
	clear squares. You don't actually have to mark the squares with mines,
	but it is a lot easier if you do. Once you have cleared all
	the un-mined squares, any remaining mined squares will be
	marked for you.
      </para>

      <para>
	If you left click on a mine, or auto-clear a square with a mine
        in it you lose. To help prevent accidents, you aren't allowed
        to auto-clear around a square unless the number of marked
        mines equals the number given in the square.
      </para>

    </sect2>

    <sect2>
      <title>使用鼠标</title>
      
      <informaltable>
        <tgroup cols="2">
	<!-- FIXME: proper headers. -->
	  <thead>
	    <row>
	      <entry>动作</entry><entry>结果</entry>
	    </row>
	  </thead>
	  <tbody>
	    <row>
	      <entry>左单击未揭开的方块。</entry>
	      <entry>揭开方块的内容。情况变好或者变坏。</entry>
	    </row>
	    <row>
	      <entry>左单击已揭开的方块。</entry>
	      <entry>Auto-clear. Reveals the unmarked squares around
              the clicked square,
	      but only if enough squares have been marked to match the
	      number in the square.</entry>
	    </row>
	    <row>
	      <entry>右单击未揭开的方块。</entry>
	      <entry>标记方块为雷。如果它已经被标记，则标记会被删除。</entry>
	    </row>
	  </tbody>
	</tgroup>
      </informaltable>

      <tip><para>如果您习惯更传统的鼠标控制，别担心，它们依然有用。</para></tip>
    </sect2>

    <sect2>
      <title>游戏面板大小和难度</title>

      <para>
        By choosing <menuchoice><guimenu>Settings</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from the 
	 menu you can
        change the size of the games. Larger sizes obviously take longer
        and require more concentration. Smaller games are more
        frantic. We provide Small, Medium, Large and Custom
        sizes.
      </para> 

    <figure id="preferences-img">
      <title>首选项对话框。</title>
    	    <mediaobject><imageobject>
	      <imagedata fileref="figures/preferences.png" format="PNG"/>
	    </imageobject></mediaobject>
    </figure>

      <para>
        On the right hand side of the dialog there are three
        parameters for controlling the custom size. Horizontal and
        Vertical are the width and height of the desired grid in
        squares. The number of mines is - obviously - the number of
        mines you need to find. If this number is set too high or too
        low then the game becomes very easy. The number of mines is
        limited to slightly less than the total number of squares.
      </para>

    </sect2>
    
    <sect2>
      <title>“不确定”旗标</title>

      <informalfigure id="imnotsureflagsimg">
    	    <mediaobject><imageobject>
  	      <imagedata fileref="figures/imnotsureflagscheckbox.png" format="PNG"/>
	    </imageobject></mediaobject>
      </informalfigure>

      <para>
        There is a check-box in the properties dialog entitled
        Use "I'm not sure" flags. If you enable this then, when
        right-clicking on a square, it cycles between the normal flags
        used to mark the square as mined, a flag with a question mark
        on it and no flag. This new flag is to help you with your
        reasoning, to mark mines you think might be a mine but aren't
        sure about. These
        flags have no effect on the game; you still have to use the 
	appropriate  number of red marker flags to be able to clear
        around a numbered square.
      </para>

      <figure id="flags-img">
	<title>当“不确定”旗标激活时的旗标序列。</title>
    	    <mediaobject><imageobject>
  	      <imagedata fileref="figures/flags.png" format="PNG"/>
	    </imageobject></mediaobject>
      </figure>

    </sect2>

    <sect2>
      <title>使用“太多旗标”警告</title>

      <para>
        The other check-box in the properties dialog is entitled
        Use "Too many flags" warning. This feature will show you a
        warning when you have placed too many flags. This is disabled
        by default, as it provides so much hint that it could be
        considered "cheating".
      </para>

    </sect2>

    <sect2>
      <title>提示</title>
    
      <para>
        If you get stuck - it is reasonably common to end up with two
        options that you can't logically resolve - then you can either
        guess, or ask for a hint. When you choose 
	<guimenuitem>Hint</guimenuitem> from the <guimenu>Game</guimenu>
        menu a single square is revealed (plus surrounding
        squares if it is blank). The choice of square is random, but
        should be helpful. There is 10 second penalty added to your
        time whenever you use a hint.
      </para>

    </sect2>

    <sect2>
      <title>高分</title>

      <para>
        If your score is in the top ten you will be shown the list of top scores and have an
        opportunity to change the name recorded in the high score table. You can
        also review the scores later by choosing 
	<guimenuitem>Scores</guimenuitem> from the <guimenu>Game</guimenu>
        menu. The drop-down menu at the top of the dialog lets you
        look at the scores for other board sizes.
      </para>

    <figure id="high-score-img">
      <title>高分对话框。</title>
    	    <mediaobject><imageobject>
	    <imagedata fileref="figures/highscores.png" format="PNG"/>
	    </imageobject></mediaobject>
    </figure>

      <tip>
        <para>The high score for the custom size is usually meaningless. Any
	other player can make the game size smaller and get a better time. If
        you only ever play one custom size then it will tell you how
	well you are doing. This is the only reason it is still recorded.</para>
      </tip>
    </sect2>

    <sect2>
      <title>窗口大小</title>
      
      <para>设置窗口以使方块大小合适。如果您想最大限度地使用屏幕，<guimenu>设置</guimenu>菜单下有<guimenuitem>全屏</guimenuitem>选项。您也可以使用<keycap>F11</keycap>切换岛全屏模式。</para>
    </sect2>

    <sect2>
      <title>暂停游戏</title>

      <para>
        The game can be paused automatically when you start using another
        window, or paused by choosing <guimenuitem>Pause</guimenuitem> 
	from the <guimenu>Game</guimenu> menu. The playing area is 
	blanked so you can't think ahead while the clock is stopped. To
        start playing again press the button labelled "Press to Resume".
      </para>
    </sect2>

  </sect1>

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

  <sect1 id="strategy">
    <title>策略</title>

    <para>
      The first half of this section explains the very basics of
    deducing where mines are. If you are familiar with how to play the
    game skip down to the <link linkend="advanced">Advanced Situations</link> subsection.
    </para>

    <sect2>
      <title>基本</title>
      <para>
        These are a few basic situations which should be incredibly
      obvious, but if you're struggling with how to play the game,
      they should be useful. The first case is where you have an
      isolated covered square and most of the squares around it read
      1. That covered square is a mine. 
      </para>

      <figure>
        <title>最简单的情况。</title>
    	    <mediaobject><imageobject>
            <imagedata format="PNG" fileref="figures/easy-hints-1.png"/>
	    </imageobject></mediaobject>
      </figure>

      <para>
        The next simplest case is where you have two covered squares
        adjacent to each other and both squares on one side are marked
        with a 2. If they have no other uncleared neighbors, then
        both squares are mines.
      </para>

      <figure>
        <title>2个地雷的情况。</title>
    	    <mediaobject><imageobject>
            <imagedata format="PNG" fileref="figures/easy-hints-2.png"/>
	    </imageobject></mediaobject>
      </figure>

      <para>
        Finally, when there are three uncovered squares in a row and
        the clear square beside the middle one is a 3 (once again this
        square should have no other neighbors) then all three are mines.
      </para>

      <figure>
        <title>3个地雷的情况。</title>
    	    <mediaobject><imageobject>
            <imagedata format="PNG" fileref="figures/easy-hints-3.png"/>
	    </imageobject></mediaobject>
      </figure>

      <para>
        These are the simplest cases. Other permutations on these
        simple situations are possible, for example the three squares
        in the previous example could be in an L shape. 
      </para>
      <para>
        Simple analysis will solve most of the
        puzzle, but not all. Before going on to the next sections,
        where we give you more advanced hints, you should play
        for a bit and see what you can work out for yourself.
      </para>
    </sect2>

    <sect2 id="advanced">
      <title>高级的情况</title>
      
      <para>
        These are some more complicated situations. They are a bit of
        a step up from the last section, so we hope you took our
        advice and played for a bit first.
      </para>

      <para>
      In the example below the mines are to the left of
      the ones. We figure this out by a process of elimination. If the
      square to the left of the 2 was a mine then the 1s
      would both have their maximum number of mines leaving no free square for
      the second mine adjacent to the 2 (since they would also be
      adjacent to the 1s). Having eliminated the middle square we are
      left with two squares we require for the 2 so they are both mined.
      </para>

      <figure>
        <title>一种不是很明显的样式。</title>
    	    <mediaobject><imageobject>
            <imagedata format="PNG" fileref="figures/hard-hints-1.png"/>
	    </imageobject></mediaobject>
      </figure>

      <para>
      This situation can be disguised, for example consider the figure
      below. It is the same situation, but the extra mined square on
      the right has increased all the numbers by 1.
      </para>

      <figure>
        <title>The extra mine disguises a copy of the previous example.</title>
    	    <mediaobject><imageobject>
            <imagedata format="PNG" fileref="figures/hard-hints-2.png"/>
	    </imageobject></mediaobject>
      </figure>

<para>
Now we're going to try a complicated example. It illustrates two
points. The first is that even if you aren't sure which squares are
mined, restricting the possibilities is helpful. The second is that
knowing which squares aren't mined is nearly as good as knowing which
are mined.
</para>

<para>
Assume that, in the figure below, we start off knowing that the top
left square is mined and so the two squares marked 2 on the left only
require one more mine. Next observe that the left-most 2 implies that
one of the covered squares beneath it is mined, but we don't yet know
which one. Since at least one of these squares is mined and they are
both neighbors of the second 2 then we know that that 2 is also
satisfied by one of these two squares (we still don't know which
one). This means that the square beneath the 4 is clear because it is
also a neighbor of the second 2 and not one of the two squares we
identified previously. 
This one blank square now leaves the 4 with only four neighbors - all
of which must be mines. Not only does it tell us which mines surround
the 4, it now tells us which of the squares beside the 2 is mined!
</para>

      <figure>
        <title>As tricky as it gets.</title>
    	    <mediaobject><imageobject>
            <imagedata format="PNG" fileref="figures/hard-hints-3.png"/>
	    </imageobject></mediaobject>
      </figure>


<para>
This sort of situation is tricky. In all the other examples you can
learn to look for patterns and avoid thinking hard. Situations like
the one in the figure don't crop up easily or in easily recognisable
places. Often it is easier to just ignore them and keep playing
elsewhere in the hope that you can start clearing the squares from the
other side.
</para>

</sect2>
<sect2>

    <title>提示</title>

    <para>
      Remember, the edge of the board is just the same as a large
      cleared area (but without the numbers). Often working
      at the edge of the board is the easiest way forward. 
    </para>

    <para>
      Sometimes you end up in a situation where there is no way to
      deduce what the configuration is. In these cases you either have
      to guess or use the hint function
      (<menuchoice><guimenu>Game</guimenu><guimenuitem>Hint</guimenuitem></menuchoice>).
      Sometimes it isn't a 50/50 situation and instead of taking a hint
      you might like to gamble on the most likely outcome.
    </para>

    <para>
      One final hint: remember the counter on the bottom left of the window
      that tells you how many mines you have left? Often, near the end
      of the game, this number can help you figure out what possible
      places mines can be. How to do this is  up
      to you to figure out.
    </para>

    </sect2>
 </sect1>

 <sect1 id="authors">
  <title>作者</title>
  <para><application>GNOME 扫雷</application> 由Pista (<email>szekeres@cyberspace.mht.bme.hu</email>)开发。本手册由 Callum McKenzie (<email>callum@spooky-possum.org</email>)在 Vincent Povirk 的帮助下写成，并基于早先 Tim Riehle (<email>tkriehle@citilink.com</email>)所作的手册。 对本程序报告错误或提供建议，请参考<ulink url="ghelp:user-guide?feedback-bugs" type="help">此文档</ulink>。</para>
 </sect1>


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

 <sect1 id="license">
  <title>许可</title>
  <para>这个程序是自由软件；您可以在遵循由<ulink type="http" url="http://www.fsf.org">自由软件基金会</ulink>发布的 <citetitle><ulink type="help" url="gnome-help:gpl">GNU 通用公共许可证</ulink></citetitle>的条款下重新分发它和/或修改它；可以是许可证第二版，或（由您选择）任何更新版本。</para>
  <para>本程序的分发是希望它会有用，但没有任何保证；甚至没有商业性的或对特定目的适用性的暗指。更多细节请参看 <citetitle><ulink type="help" url="gnome-help:gpl">GNU 通用公共许可证</ulink></citetitle>。</para>
  <para>
   A copy of the <citetitle><ulink type="help" url="gnome-help:gpl">GNU General Public License</ulink></citetitle> is
   included as an appendix to the <citetitle>GNOME Users
   Guide</citetitle>.  You may also obtain a copy of the
   <citetitle><ulink type="help" url="gnome-help:gpl">GNU General Public License</ulink></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>
    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>
