# 机器人小游戏手册

机器人原来是文本小游戏，这个它的图形界面版本，您可以在许多 UNIX 系统上找到它。玩家必须开动脑筋，让那些小机器人自己相互碰撞而毁灭。

2001
Patanjali Somayaji, Mark Rae
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.

Patanjali
Somayaji

     patanjali@mindless.com

Mark
Rae

     m.rae@inpharmatica.co.uk

Robots Manual V2.8
September 2004

Patanjali Somayaji patanjali@mindless.com

Mark Rae m.rae@inpharmatica.co.uk

GNOME Documentation Project

Robots Manual V2.9
August 2007

Claude Paroz claude@2xlibre.net

GNOME Documentation Project

本手册讲述的是机器人小游戏手册2.18版。

## 反馈

要报告关于机器人程序或使用手册中的缺陷，或者提出建议，请参照 GNOME 反馈页 上的指导。

## 介绍

GNOME 机器人小游戏中，您要设法躲开一群四处劫掠，并试图杀死您的机器人。它是基于文本游戏的机器人，它可以在许多 UNIX 系统上找到。

新版本包括：两种类型的机器人、移动的废墟、多种游戏配置、自定义键盘快捷键、以及声音等，跟原来的 GNOME 机器人游戏一样好。

To run GNOME Robots, select Games Robots from the Main Menu, or type `gnome-robots` on the command line.

GNOME 机器人 小游戏包含在 `gnome-games` 软件包内，它是 GNOME 桌面环境的一部分。本手册讲述的是GNOME 机器人小游戏2.18版。

## GNOME 机器人游戏任务

GNOME 机器人 小游戏的任务非常简单，您的周围有许多机器人或者其他敌人，在您移动时，它们会直接朝您追过来，都想杀死您。您需要开动脑筋诱使它们相撞而杀死全部机器人。

机器人相撞时会变成废墟，或者撞到废墟上也会销毁。如果一个机器人抓住您就会杀死您。

在一些游戏配置(您可以从五个不同的配置中选择)，您可以把废墟排在周围来保护自己。如果您足够大胆，您可以推动废墟撞毁机器人获得额外的奖励。

您还可以随机传送自己到一个安全的地方。不幸的是，随机传送有可能正好把您传到机器人那里，从而被它们杀死。幸运的是，还有安全传送，可以把您传到安全的地方，但是安全传送有次数限制。您可以通过闯关赢得更多免费的传送点(如何获得取决于您选择的游戏)，通常是您用“等待”方式消灭了所有机器人，最多可以赢得10个。如果您不想浪费安全传送点，可以选择随机传送，如果您认为这样也是足够安全的。

如果您点击 等待 按钮(看下面的讲解)，您将不能再移动直到所有机器人(仍然朝您移动的)都走完，或者您被杀死。冒这个险您可以羸得额外的安全传送点。

如果您能设法穿越机器人控制的半个屏幕，到达对边的点，机器人的数量将会重置为开始的数量，让您接着玩下去。

## 使用 GNOME 机器人

GNOME 机器人 非常容易操作。您可以使用鼠标也可以使用键盘操作。本节讲述 GNOME 机器人 的基本操作方法。

### 基本操作

Starting GNOME Robots opens the Main window, shown in .

#### GNOME Robots Main Window

GNOME Robots Main Window.

要开始一个新游戏，点 游戏 菜单，选择 新建，或者点工具栏上的新建 按钮。

要移动位置，可以在移动的方向上点击鼠标(光标会显示您移动的方向)，或者按适当的按键(默认是小键盘)。在小人上点击保持原地。要进行传送(安全或非安全的)和等待，点击工具栏上的按钮，或者点击 移动 菜单里的对应项。

## 菜单

菜单栏位于游戏面板的顶部，包含下面菜单项：

Game

  This menu contains three items:

  - Ctrl-N New — starts a new game of GNOME Robots.

  - Scores — shows the higher scores.

  - Ctrl-Q Quit

Move

  This menu contains:

  - Teleport— teleports you in a safe location.

  - Random— teleports you in a random location.

  - Wait— places you in wait mode.

Settings

  The Settings menu contains only one item:

  - Preferences which brings up the preferences dialog box.

Help

  This menu contains:

  - Contents— shows this manual.

  - About— shows basic information about GNOME Robots, such as the author's name and the application version number.

## 使用键盘

您可以用键盘来控制小人，默认是用小键盘来操作，当然您可以在 首选项 对话框的 键盘 标签中自定义。要设定其他按键，只需在相应的行上双击，然后输入要设定的按键。

### 默认的键盘操作键

By default, you use the numeric keypad on the right-hand side of the keyboard (not the separate arrow keys).

#### Switch off the NumLock Key

You may need to switch off the NumLock to make these work.

1. Up Left: Home

2. Up: Up

3. Up Right: Page Up

4. Left: Left

5. Stand Still: Begin

6. Right: Right

7. Down Left: End

8. Down: Down

9. Down Right: Page Down

10. Teleport: +

11. Randomly Teleport: *

12. Wait: Enter

## 自定义 GNOME 机器人小游戏

You can modify the behaviour and appearance of the game by selecting Preferences under the Settings menu. This brings up a dialog with three tabs:

- Game — This page allows you to choose the type of game you want to play. The drop-down box at the top of the page allows you to choose from a number of predefined games. You can't change these options in the middle of a game, so they will be disabled then. There are also several options at the bottom of the dialog:

  1. The safe moves option will help you to avoid being killed due to a mistake. If you try to make a move that would lead to your death when there is a safe move available, you will not be allowed to proceed. But be warned: if there was no safe move available, other than teleporting, the move will be allowed to proceed.

  2. There is also a super safe mode. If you select this, you get beeped when there is no safe move and your only option is to teleport out.

  3. If you select the sound checkbox the game will play sounds for various events throughout the game.

  4. The Splats checkbox selects whether you want the sound played and a small Splat! to appear on the screen.

- Appearance — This page allows you to select the graphics used throughout the game from the list in the dropdown-box. You can also select the background colour from this tab.

- Keyboard — This screen allows you to define your own keyboard controls. To select a different key for a command, double-click on the button for that command and then press the key you want to use.

所有更改将会立即生效并自动保存。

You can design your own graphics for the game if you want. The graphics files are found in `$PREFIX/share/gnome-games/gnome-robots/pixmaps` , where $PREFIX is the prefix into which GNOME was installed. This is usually either `/usr` or `/usr/local`.

每个角色是 16×16 像素，有14个 PNG 文件是224×16像素的，您可以查看一下已有的文件，找到它们的顺序，它们必须是正确的动画顺序。

Any graphics files which are placed in the directory are auto-detected, so you don't need to alter any configuration files. You can also define your own game configurations by creating extra `.cfg` files which are stored in the `$PREFIX/share/gnome-games/gnome-robots/games` directory.

## 作者

GNOME 机器人小游戏由 Mark Rae (m.rae@inpharmatica.co.uk) 编写。本文档由 Patanjali Somayaji (patanjali@mindless.com) 从原始的 HTML 文档(Mark Rae 编写)改编而来。要报告本程序或本手册的缺陷或者提出建议，请参照 文档 上的指导。

## 许可协议

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.
            51 Franklin Street, Fifth Floor
            Boston, MA 02110-1301
            USA