search
HomeSystem TutorialLINUXThe most famous text adventure game – Giant Cave Adventure

The most famous text adventure game – Giant Cave Adventure

Apr 01, 2024 pm 07:58 PM
linuxlinux tutorialRed Hatlinux systemlinux commandlinux certificationred hat linuxlinux video

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:Linux就该这么学. If there is any infringement, please contact admin@php.cn delete
What are the main tasks of a Linux system administrator?What are the main tasks of a Linux system administrator?Apr 19, 2025 am 12:23 AM

The main tasks of Linux system administrators include system monitoring and performance tuning, user management, software package management, security management and backup, troubleshooting and resolution, performance optimization and best practices. 1. Use top, htop and other tools to monitor system performance and tune it. 2. Manage user accounts and permissions through useradd commands and other commands. 3. Use apt and yum to manage software packages to ensure system updates and security. 4. Configure a firewall, monitor logs, and perform data backup to ensure system security. 5. Troubleshoot and resolve through log analysis and tool use. 6. Optimize kernel parameters and application configuration, and follow best practices to improve system performance and stability.

Is it hard to learn Linux?Is it hard to learn Linux?Apr 18, 2025 am 12:23 AM

Learning Linux is not difficult. 1.Linux is an open source operating system based on Unix and is widely used in servers, embedded systems and personal computers. 2. Understanding file system and permission management is the key. The file system is hierarchical, and permissions include reading, writing and execution. 3. Package management systems such as apt and dnf make software management convenient. 4. Process management is implemented through ps and top commands. 5. Start learning from basic commands such as mkdir, cd, touch and nano, and then try advanced usage such as shell scripts and text processing. 6. Common errors such as permission problems can be solved through sudo and chmod. 7. Performance optimization suggestions include using htop to monitor resources, cleaning unnecessary files, and using sy

What is the salary of Linux administrator?What is the salary of Linux administrator?Apr 17, 2025 am 12:24 AM

The average annual salary of Linux administrators is $75,000 to $95,000 in the United States and €40,000 to €60,000 in Europe. To increase salary, you can: 1. Continuously learn new technologies, such as cloud computing and container technology; 2. Accumulate project experience and establish Portfolio; 3. Establish a professional network and expand your network.

What is the main purpose of Linux?What is the main purpose of Linux?Apr 16, 2025 am 12:19 AM

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

Does the internet run on Linux?Does the internet run on Linux?Apr 14, 2025 am 12:03 AM

The Internet does not rely on a single operating system, but Linux plays an important role in it. Linux is widely used in servers and network devices and is popular for its stability, security and scalability.

What are Linux operations?What are Linux operations?Apr 13, 2025 am 12:20 AM

The core of the Linux operating system is its command line interface, which can perform various operations through the command line. 1. File and directory operations use ls, cd, mkdir, rm and other commands to manage files and directories. 2. User and permission management ensures system security and resource allocation through useradd, passwd, chmod and other commands. 3. Process management uses ps, kill and other commands to monitor and control system processes. 4. Network operations include ping, ifconfig, ssh and other commands to configure and manage network connections. 5. System monitoring and maintenance use commands such as top, df, du to understand the system's operating status and resource usage.

Boost Productivity with Custom Command Shortcuts Using Linux AliasesBoost Productivity with Custom Command Shortcuts Using Linux AliasesApr 12, 2025 am 11:43 AM

Introduction Linux is a powerful operating system favored by developers, system administrators, and power users due to its flexibility and efficiency. However, frequently using long and complex commands can be tedious and er

What is Linux actually good for?What is Linux actually good for?Apr 12, 2025 am 12:20 AM

Linux is suitable for servers, development environments, and embedded systems. 1. As a server operating system, Linux is stable and efficient, and is often used to deploy high-concurrency applications. 2. As a development environment, Linux provides efficient command line tools and package management systems to improve development efficiency. 3. In embedded systems, Linux is lightweight and customizable, suitable for environments with limited resources.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment