在 Linux 终端上进行冒险
命令行

> 
> 我们的 Linux 命令行玩具日历的最后一天以一场盛大冒险结束。
> 
> 
> 


![](/data/attachment/album/201902/14/233617qj2bsxvnl0lnaxlr.png)


今天是我们为期 24 天的 Linux 命令行玩具日历的最后一天。希望你一直有在看，但如果没有，请[从头开始](https://opensource.com/article/18/12/linux-toy-boxes)，继续努力。你会发现 Linux 终端有很多游戏、消遣和奇怪之处。


虽然你之前可能已经看过我们日历中的一些玩具，但我们希望对每个人而言至少有一件新东西。


今天的玩具是由 Opensource.com 管理员 [Joshua Allen Holm](https://opensource.com/users/holmja) 提出的：



> 
> “如果你的冒险日历的最后一天不是 ESR（Eric S. Raymond）的[开源版的 Adventure 游戏](https://gitlab.com/esr/open-adventure "https://gitlab.com/esr/open-adventure") —— 它仍然使用经典的 `advent` 命令（在 BSD 游戏包中的 `adventure`） ，我会非常非常非常失望 ;-)“
> 
> 
> 


这是结束我们这个系列的完美方式。


<ruby> 巨洞冒险 <rt>  Colossal Cave Adventure </rt></ruby>（通常简称 Adventure），是一款来自 20 世纪 70 年代的基于文本的游戏，它引领产生了冒险游戏这个类型的游戏。尽管它很古老，但是当探索幻想世界时，Adventure 仍然是一种轻松消耗时间的方式，就像龙与地下城那样，地下城主可能会引导你穿过一个充满想象的地方。


与其带你了解 Adventure 的历史，我鼓励你去阅读 Joshua 的[该游戏的历史](https://opensource.com/article/17/6/revisit-colossal-cave-adventure-open-adventure)这篇文章，以及为什么它几年前会重新复活，并且被重新移植。接着，[克隆它的源码](https://gitlab.com/esr/open-adventure)并按照[安装说明](https://gitlab.com/esr/open-adventure/blob/master/INSTALL.adoc)在你的系统上使用 `advent` 启动游戏。或者，像 Joshua 提到的那样，可以从 bsd-games 包中获取该游戏的另一个版本，该软件包可能存在于你的发行版中的默认仓库。


你有喜欢的命令行玩具认为我们应该介绍么？今天我们的系列结束了，但我们仍然乐于在新的一年中介绍一些很酷的命令行玩具。请在下面的评论中告诉我，我会查看一下。让我知道你对今天玩具的看法。


一定要看看昨天的玩具，[能从远程获得乐趣的 Linux 命令](https://opensource.com/article/18/12/linux-toy-remote)，明年再见！




---


via: <https://opensource.com/article/18/12/linux-toy-adventure>


作者：[Jason Baker](https://opensource.com/users/jason-baker) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Today is the final day of our 24-day-long Linux command-line toys advent calendar. Hopefully, you've been following along, but if not, start back at [the beginning](https://opensource.com/article/18/12/linux-toy-boxes) and work your way through. You'll find plenty of games, diversions, and oddities for your Linux terminal.

And while you may have seen some toys from our calendar before, we hope there’s at least one new thing for everyone.

Today's toy was suggested by Opensource.com moderator [Joshua Allen Holm](https://opensource.com/users/holmja):

*"If the last day of your advent calendar is not ESR's [Eric S. Raymond's] open source release of Adventure, which retains use of the classic 'advent' command (Adventure in the BSD Games package uses 'adventure), I will be very, very, very disappointed. ;-)"*

What a perfect way to end our series.

Colossal Cave Adventure (often just called Adventure), is a text-based game from the 1970s that gave rise to the entire adventure game genre. Despite its age, Adventure is still an easy way to lose hours as you explore a fantasy world, much like a Dungeons and Dragons dungeon master might lead you through an imaginary place.

Rather than take you through the history of Adventure here, I encourage you to go read Joshua's [history of the game](https://opensource.com/article/17/6/revisit-colossal-cave-adventure-open-adventure) itself and why it was resurrected and re-ported a few years ago. Then, go [clone the source](https://gitlab.com/esr/open-adventure) and follow the [installation instructions](https://gitlab.com/esr/open-adventure/blob/master/INSTALL.adoc) to launch the game with **advent**** **on your system. Or, as Joshua mentions, another version of the game can be obtained from the **bsd****-games **package, which is probably available from your default repositories in your distribution of choice.

Do you have a favorite command-line toy that you we should have included? Our series concludes today, but we'd still love to feature some cool command-line toys in the new year. Let me know in the comments below, and I'll check it out. And let me know what you thought of today's amusement.

Be sure to check out yesterday's toy, [The Linux command line can fetch fun from afar](https://opensource.com/article/18/12/linux-toy-remote), and I'll see you next year!

## 8 Comments