# 贪吃蛇 手册

Nibbles 是一个 GNOME 下的贪吃蛇游戏。玩家控制一条试图获取食物的 2D 蛇。获取食物得到点数，但是碰到任何物体会损失点数。当所有点数损失掉时，玩家便输掉游戏。

2000
Kevin Breit
GNOME 文档项目

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

本手册是以 GFDL 许可协议发布的 GNOME 手册集合的一部分。如果您要单独分发本手册，您可以将许可协议的副本添加到手册后再这样做，如许可协议的第 6 部分所述。

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

DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT:

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

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

Kevin
Breit
GNOME Documentation Project

     battery841@mypad.com

Nibbles Manual V2.20
May 2007

Kevin Breit battery841@mypad.com

GNOME Documentation Project

本手册描述的是 2.20 版的贪吃蛇。

## 反馈

对贪吃蛇应用程序或本手册报告错误或提供建议，请遵从 GNOME 反馈页面中的指导。

## 简介

贪吃蛇是由玩家来控制一条蛇的一个游戏。蛇在面板上到处移动，吃掉钻石，同时避免碰到置于周围的墙壁。

To run Nibbles, select Games Nibbles from the Applications menu, or type `gnome-nibbles` on the command line.

贪吃蛇包含于`gnome-games`软件包，为 GNOME 桌面环境的一部分。本文档描述的是 2.20 版的贪吃蛇。

## 贪吃蛇目标

贪吃蛇的目标十分简单。由您来控制蛇，如果蛇碰到墙壁，或碰到自己，蛇会死掉。在游戏完成前，您可以得到10条命。您可以通过超过自己(或朋友的)最高分数，或完成所有级别来获得胜利。也可以同智能的蛇来游戏。

Nibbles also features multiplayer support with up to six competing human players in hotseat mode.

## 使用贪吃蛇

贪吃蛇 为一个玩法简单的游戏。游戏所需的键只有方向键。

### 基本使用

Starting Nibbles opens the main window shown below.

#### Nibbles Introduction Window

Nibbles Introduction Window.

To start the game, select Game New Game.

When the game starts, the worm will come out of the left side of the screen. You use the up arrow to make the direction of the worm go up. Use the right arrow to turn the worm right, left arrow to turn the worm left, and down arrow to turn the worm down.

#### Nibbles During Gameplay

Nibbles During Gameplay.

### 菜单

菜单栏，位于主窗口的顶端，包含如下菜单项：

Game

  This menu contains:

  - Ctrl+N New Game This starts a new game of Nibbles.

  - Scores This shows the high scores.

  - Pause game This will pause your game. Click on the Pause Game menu option to resume game.

  - End Game End the current game and return to the title screen.

  - Ctrl-Q Exit This quits the application.

View

  This menu contains:

  - Fullscreen This toggles your game window to be fullscreen.

Settings

  This menu contains:

  - Preferences This opens your window to edit preferences.

Help

  This menu contains:

  - F1 Contents Display this manual.

    About This opens the About dialog which shows basic information about Nibbles, such as the author's name, the version number of the game.

### 钻石

贪吃蛇可以吃掉许多不同的钻石。它们颜色各不相同，具有不同的功能。只有浅紫色的钻石在足够长的时候才能吃掉它(实际上，您的蛇必须吃掉它们以完成这一关)。其他的钻石全部是奖励，但是它们仅存在很短的时间。我们会留给您来发现每种颜色获得什么奖励，但是它们全部影响分数，蛇的长度，或者两个都影响。当走向这些奖励钻石时要小心，不要切断你走向结束这一关的普通钻石的路。

## 自定义

To change the application settings, select Settings Preferences . This opens the Preferences dialog. All preferences are automatically saved and applied as you change them.

### 游戏首选项标签页

Game Preferences Tab.

The properties in the Game tab are:

Speed

  This controls the speed of the worm.

Play levels in random order

  Selecting this causes the level advancement to happen in random order.

Enable fake bonuses

  When enabled, this allows for two blue diamonds on the screen at a time. One diamond makes you shrink instead of grow when eaten.

Enable sounds

  Controls the use of sound in the game.

Starting level

  Which level to start with. Use this if you want to jump immediately to a challenging level.

Number of human players

  There is room for up to six players.

Number of AI players

  There is room for up to six AI players. Note that the total number of human and AI players must be less than or equal to six.

### Worm Preferences Tab

Worm Preferences Tab.

The properties in the Worm 1 through Worm 6 tabs let you set individual preferences for the different worms.

Keyboard controls

  This list let you change the keyboard controls for the given worm. To change a control, double click on the appropriate entry and then press the key you want to use for that control.

Use relative motion

  Rather than left sending your worm toward the left of the screen, right toward the right and so on, the left and right keys make the worm perform a left or right turn. For example, if the worm is moving to the left and you press the left control it turns to head toward the bottom of the screen.

Worm color

  Customize the color of your worm so you can tell it from your opponent's worm in multi-player mode.

## 作者

贪吃蛇由 Sean MacIsaac sjm@acm.org 与 Ian Peters itp@gnu.org编写。本手册由 Kevin Breit battery841@mypad.com编写。贪吃蛇的网络支持更新由 Andreas Røsdal andreasr@gnome.org添加。对本应用程序或本手册报告错误或提供建议，请遵循文档中的指导。

## 许可协议

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

此程序发布的目的是希望它对您有用，但没有任何担保；即使是对商业应用或其它任何目的。参见 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