Home  >  Article  >  System Tutorial  >  The most famous text adventure game – Giant Cave Adventure

The most famous text adventure game – Giant Cave Adventure

PHPz
PHPzforward
2024-04-01 19:58:19432browse

Colossal Cave Adventure[1], also known as ADVENT, Clossal Cave or Adventure, was the most popular from the early 1980s to the late 1990s A text-based adventure game. The game is also famous as the first "Interactive fictioninteractive fiction" game in history. In 1976, a programmer named Will Crowther developed an early version of the game, and later another programmer named Don Woods improved the game, adding many new elements to it, including a scoring system and More fantasy characters and settings. The game was originally developed for the PDP-10, a historic mainframe computer. Later, it was ported to common home desktop computers such as the IBM PC and Commodore 64. The original version of the game was developed in Fortran, which was later added to MS-DOS 1.0 by Microsoft in the early 1980s.

最有名的文字冒险游戏 – 巨洞冒险

The final version, Adventure 2.5, released in 1995, was never available as an installation package for modern operating systems. It is almost out of print. Fortunately, many years later, Eric Steven Raymond (ESR), an advocate of the open source movement, got the consent of the original authors and ported this classic game to modern operating systems. He made the game open source and hosted the source code on GitLab under the name "open-adventure".

Your main goal in this game is to find a cave that is rumored to contain a large amount of treasure and gold and get out of it alive. Players earn points as they explore this virtual cave. The total points available are 430 points. The game is primarily inspired by original author Will Crowther's extensive cave exploration experience. He had often ventured into caves, specifically Mammoth CaveMammoth Cave. Because the cave structures in the game are loosely based on Mammoth Cave, you may notice similarities between the scenes in the game and the real-life Mammoth Cave.

Install Giant Cave Adventure

Open Adventure has installation packages for Arch series operating systems on AUR[2]. So we can install this game using any AUR helper on Arch Linux or Arch based distributions like Antergos and Manjaro Linux.

Use Pacaur[3]:

pacaur -S open-adventure

Use Packer[4]

packer -S open-adventure

Use Yaourt[5]

yaourt -S open-adventure

On other Linux distributions, you may need to go through the following steps to compile and install this game from source code.

First install the dependencies:

On Debian and Ubuntu:

sudo apt-get install python3-yaml libedit-dev

On Fedora:

sudo dnf install python3-PyYAML libedit-devel

You can also use pip to install PyYAML:

sudo pip3 install PyYAML

After installing the dependencies, use the following command to compile and install open-adventure from source:

git clone https://gitlab.com/esr/open-adventure.git
make
make check

Finally, run the advent program to start the game:

advent

There is also an Android version of this game on the Google Play Store[6].

game instructions

要开始游戏,只需在终端中输入这个命令:

advent

你会看到一个欢迎界面。按 y 来查看教程,或者按 n 来开始冒险之旅。

最有名的文字冒险游戏 – 巨洞冒险

游戏在一个小砖房前面开始。玩家需要使用由一到两个简单的英语单词单词组成的命令来控制角色。要移动角色,只需输入 inoutenterexitbuildingforesteastwestnorthsouthupdown等指令。

比如说,如果你输入 south 或者简写 s,游戏角色就会向当前位置的南方移动。注意每个单词只有前五个字母有效,所以当你需要输入更长的单词时需要使用缩写,比如要输入 northeast 时,只需输入 NE(大小写均可)。要输入 southeast 则使用 SE。要捡起物品,输入 pick。要进入一个建筑物或者其他的场景,输入 in。要从任何场景离开,输入 exit,诸如此类。当你遇到危险时你会受到警告。你也可以使用两个单词的短语作为命令,比如 eat fooddrink waterget lamplight lampkill snake 等等。你可以在任何时候输入 help 来显示游戏帮助。

最有名的文字冒险游戏 – 巨洞冒险

我花了一整个下午来探索这款游戏。天哪,这真是段超级有趣、激动人心又紧张刺激的冒险体验!

最有名的文字冒险游戏 – 巨洞冒险

I cleared many levels and explored various scenes along the way. I even found gold and was attacked by a snake and a dwarf. I must admit that this game is really addictive and the best time killer.

If you leave the cave safely with the treasure, you will win the game and gain full ownership of the treasure. You will also receive partial rewards when you find treasure. To leave your adventure early, type quit. To pause the adventure, enter suspend (or pause or save). You can continue the adventure later. To see where you are now, enter score. Remember, you will lose points if you are killed or quit.

Have fun! goodbye!


The above is the detailed content of The most famous text adventure game – Giant Cave Adventure. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:linuxprobe.com. If there is any infringement, please contact admin@php.cn delete