# 扫雷 手册

Mines is GNOME's take on the popular logic puzzle minesweeper, which includes avoiding mines while receiving clues for the location of the mines.

2006
Callum McKenzie
GNOME 文档项目

这份文档是双重授权的。您可以遵循GNU 通用公共许可证来发布和/或修改它，这也是此程序的遵循许可，或者您可以在 GNU 自由文档许可证下分发它。要带有这段文字的副本。

对于本文档的复制、分发和/或修改必须遵循自由软件基金会发布的 GNU 自由文档许可证 (GFDL) 1.1 版或更高版本， 该许可证没有固定的部分、没有封面和背页文本。您可以在此链接上或在随本手册一起分发的 COPYING-DOCS 文件中找到 GFDL 的副本。

本手册是在GFDL许可下GNOME手册集合的一部分。如果您想单独分发本手册，您可以参照许可协议的第6部分，在本手册上添加一份许可的拷贝后再这样做。

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

本文档以及文档的修改版本都是在遵循 GNU 自由文档许可证的条款下提供，这表示具有以下含义：

1. 文档按“原样”提供，不提供任何明示或暗示的保证，包括但不限于：文档或文档的修改版本没有适销性方面的缺陷、适合特定目的的适用性，以及没有侵权行为。您将自行承担本文档以及文档修改版本的质量、准确性以及性能方面的风险。如果任何文档或文档修改版本存在缺陷，您(而不是最初的编写者、作者或撰写人)将承担所有必需的服务、维修或更正的费用。此免责声明是本许可证的重要组成部分。如果不接受此免责声明，那么您就没有权利使用任何文档或文档的修改版本；并且

2. 无论在任何情况以及在任何法律理论下，本文档或文档修改版本的作者、最初的编写者、任何撰写人或任何分发者，或者任意这些方的任何提供者都不对任何人由于使用本文档或文档修改版本引起或带来的任何直接的、间接的、特殊的、偶然的或继发的损失承担任何民事(包括疏忽)、合同或其它方面的责任，这些损失包括但不限于信誉损失、工作停止、计算机失败或故障，或任何以及所有其它损失或由此引发的或与之相关的损失，即使这些方已被告知存在出现此类损失的可能性时也是如此。

Callum
McKenzie

     callum@spooky-possum.org

扫雷手册 版本2.9
2006年1月

Callum McKenzie callum@spooky-possum.org

GNOME 文档项目

本手册描述的是扫雷的2.14版本。

## 反馈

要报告关于扫雷程序或其手册的错误或者提供建议，请参照 GNOME 错误报告数据库的说明。

## 简介

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

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.

### 游戏的过程：开始，进行游戏，失败，和胜利。

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.

### 重要的信息。

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

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

### 黄脸表示您进行游戏时的状况。

## 细节

This section provides information on the controls and the important menu items. If you need help figuring where the mines are, see the strategy section.

### 目标

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.

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.

### 使用鼠标

动作 | 结果
--- | ---
左单击未揭开的方块。 | 揭开方块的内容。情况变好或者变坏。
左单击已揭开的方块。 | 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.
右单击未揭开的方块。 | 标记方块为雷。如果它已经被标记，则标记会被删除。

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

### 游戏面板大小和难度

By choosing Settings Preferences 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.

#### 首选项对话框。

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.

### “不确定”旗标

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.

#### 当“不确定”旗标激活时的旗标序列。

### 使用“太多旗标”警告

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".

### 提示

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 Hint from the Game 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.

### 高分

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 Scores from the Game menu. The drop-down menu at the top of the dialog lets you look at the scores for other board sizes.

#### 高分对话框。

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.

### 窗口大小

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

### 暂停游戏

The game can be paused automatically when you start using another window, or paused by choosing Pause from the Game 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".

## 策略

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 Advanced Situations subsection.

### 基本

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.

#### 最简单的情况。

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.

#### 2个地雷的情况。

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.

#### 3个地雷的情况。

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.

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.

### 高级的情况

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.

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.

#### 一种不是很明显的样式。

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.

#### The extra mine disguises a copy of the previous example.

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.

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!

#### As tricky as it gets.

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.

### 提示

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.

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 (Game Hint). Sometimes it isn't a 50/50 situation and instead of taking a hint you might like to gamble on the most likely outcome.

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.

## 作者

GNOME 扫雷 由Pista (szekeres@cyberspace.mht.bme.hu)开发。本手册由 Callum McKenzie (callum@spooky-possum.org)在 Vincent Povirk 的帮助下写成，并基于早先 Tim Riehle (tkriehle@citilink.com)所作的手册。 对本程序报告错误或提供建议，请参考此文档。

## 许可

这个程序是自由软件；您可以在遵循由自由软件基金会发布的 GNU 通用公共许可证的条款下重新分发它和/或修改它；可以是许可证第二版，或（由您选择）任何更新版本。

本程序的分发是希望它会有用，但没有任何保证；甚至没有商业性的或对特定目的适用性的暗指。更多细节请参看 GNU 通用公共许可证。

A copy of the GNU General Public License is included as an appendix to the GNOME Users Guide. You may also obtain a copy of the GNU General Public License from the Free Software Foundation by visiting their Web site or by writing to

        Free Software Foundation, Inc.
        59 Temple Place - Suite 330
        Boston, MA 02111-1307
        USA