14 个依然很棒的 Linux ASCII 游戏
ASCII 游戏
基于文本的（或者我应该说是[基于终端的](https://itsfoss.com/best-command-line-games-linux/)）游戏在十年前非常流行 —— 当时还没有像<ruby> 战神 <rt>  God Of War </rt></ruby>、<ruby> 荒野大镖客：救赎 2 <rt>  Red Dead Redemption 2 </rt></ruby>或<ruby> 蜘蛛侠 <rt>  Spiderman </rt></ruby>这样的视觉游戏大作。


当然，Linux 平台有很多好游戏 —— 虽然并不总是“最新和最好”。但是，有一些 ASCII 游戏，却是你永远不会玩腻的。


你或许不相信，有一些 ASCII 游戏被证明是非常容易上瘾的（所以，我可能需要一段时间才能继续写下一篇文章，或者我可能会被解雇？ —— 帮帮我！）


哈哈，开个玩笑。让我们来看看最好的 ASCII 游戏吧。


**注意：**安装 ASCII 游戏可能要花费不少时间（有些可能会要求你安装其他依赖项或根本不起作用）。你甚至可能会遇到一些需要你从源代码构建的 ASCII 游戏。因此，我们只筛选出那些易于安装和运行的产品 —— 不用费劲。


### 在运行和安装 ASCII 游戏之前需要做的事情


如果你没有安装的话，某些 ASCII 游戏可能需要你安装 [Simple DirectMedia Layer](https://www.libsdl.org/)。因此，以防万一，你应该先尝试安装它，然后再尝试运行本文中提到的任何游戏。


要安装它，你需要键入如下命令：



```
sudo apt install libsdl2-2.0
sudo apt install libsdl2_mixer-2.0
```

### Linux 上最好的 ASCII 游戏


![Best Ascii games for Linux](/data/attachment/album/201902/17/210223dllgv5llluppbp0u.png)


如下列出的游戏排名不分先后。


#### 1、战争诅咒


![Curse of War ascii games](/data/attachment/album/201902/17/210226mexn291r1gczie1r.jpg)


<ruby> <a href="http://a-nikolaev.github.io/curseofwar/">  战争诅咒 </a> <rt>  Curse of War </rt></ruby>是一个有趣的策略游戏。一开始你可能会发现它有点令人困惑，但一旦你掌握了，就会喜欢上它。在启动游戏之前，我建议你在其 [主页](http://a-nikolaev.github.io/curseofwar/) 上查看该游戏规则。


你将建设基础设施、保护资源并指挥你的军队进行战斗。你所要做的就是把你的旗帜放在一个合适的位置，让你的军队来完成其余的任务。不仅仅是攻击敌人，你还需要管理和保护资源以帮助赢得战斗。


如果你之前从未玩过任何 ASCII 游戏，请耐心花一些时间来学习它、体验它的全部潜力。


##### 如何安装？


你可以在官方软件库里找到它。键入如下命令来安装它：



```
sudo apt install curseofwar
```

#### 2、ASCII 领域


![ascii sector](/data/attachment/album/201902/17/210228ekskkhggdpp7s111.jpg)


讨厌策略游戏？不用担心，<ruby> ASCII 领域 <rt>  ASCII Sector </rt></ruby>是一款具有空间环境的游戏，可让你进行大量探索。


此外，不仅仅局限于探索，你还想要采取一些行动吗？也是可以的。当然，虽然战斗体验不是最好的，但它也很有趣。当你看到各种基地、任务和探索时，会让你更加兴奋。你会在这个小小的游戏中遇到一个练级系统，你必须赚取足够的钱或进行交易才能升级你的宇宙飞船。


而这个游戏最好的地方是你可以创建自己的任务，也可以玩其他人的任务。


##### 如何安装？


你需要先从其 [官方网站](http://www.asciisector.net/download/) 下载并解压缩归档包。完成后，打开终端并输入这些命令（将 “Downloads” 文件夹替换为你解压缩文件夹所在的位置，如果解压缩文件夹位于你的主目录中，则忽略它）：



```
cd Downloads
cd asciisec
chmod +x asciisec
./asciisec
```

#### 3、DoomRL


![doom ascii game](/data/attachment/album/201902/17/210231bmyii6obdava2mib.jpg)


你肯定知道经典游戏“<ruby> 毁灭战士 <rt>  DOOM </rt></ruby>”，所以，如果你想把它像 Rogue 类游戏一样略微体验一下，DoomRL 就是适合你的游戏。它是一个基于 ASCII 的游戏，这或许让你想不到。


这是一个非常小的游戏，但是可以玩很久。


##### 如何安装？


与你对 “ASCII 领域”所做的类似，你需要从其 [下载页面](https://drl.chaosforge.org/downloads) 下载官方归档文件，然后将其解压缩到一个文件夹。


解压缩后，输入以下命令：



```
cd Downloads // navigating to the location where the unpacked folder exists
cd doomrl-linux-x64-0997
chmod +x doomrl
./doomrl
```

#### 4、金字塔建造者


![Pyramid Builder ascii game for Linux](/data/attachment/album/201902/17/210232g0n6677gkogg9agk.jpg)


<ruby> 金字塔建造者 <rt>  Pyramid Builder </rt></ruby> 是一款创新的 ASCII 游戏，你可以通过帮助建造金字塔来提升你的文明。


你需要指导工人耕种、卸载货物、并移动巨大的石头，以成功建造金字塔。


这确实是一个值得下载的 ASCII 游戏。


##### 如何安装？


只需前往其官方网站并下载包以解压缩。提取后，导航到该文件夹并运行可执行文件。



```
cd Downloads
cd pyramid_builder_linux
chmod +x pyramid_builder_linux.x86_64
./pyramid_builder_linux.x86_64
```

#### 5、DiabloRL


![Diablo ascii RPG game](/data/attachment/album/201902/17/210233o3oizcnpxfvwxwff.jpg)


如果你是一位狂热的游戏玩家，你一定听说过暴雪的<ruby> 暗黑破坏神 <rt>  Diablo </rt></ruby> 1 代，毫无疑问这是一个精彩的游戏。


现在你有机会玩一个该游戏的独特演绎版本 —— 一个 ASCII 游戏。DiabloRL 是一款非常棒的基于回合制的 Rogue 类的游戏。你可以从各种职业（战士、巫师或盗贼）中进行选择。每个职业都具有一套不同的属性，可以带来不同游戏体验。


当然，个人偏好会有所不同，但它是一个不错的暗黑破坏神“降级版”。你觉得怎么样？


#### 6、Ninvaders


![Ninvaders terminal game for Linux](/data/attachment/album/201902/17/210234bz2il6esjbplyslj.jpg)


Ninvaders 是最好的 ASCII 游戏之一，因为它是如此简单，且可以消磨时间的街机游戏。


你必须防御入侵者，需要在它们到达之前击败它们。这听起来很简单，但它极具挑战性。


##### 如何安装？


与“战争诅咒”类似，你可以在官方软件库中找到它。所以，只需输入此命令即可安装它：



```
sudo apt install ninvaders 
```

#### 7、帝国


![Empire terminal game](/data/attachment/album/201902/17/210235jo46hkshiommbui0.jpg)


<ruby> 帝国 <rt>  Empire </rt></ruby>这是一款即时战略游戏，你需要互联网连接。我个人不是实时战略游戏的粉丝，但如果你是这类游戏的粉丝，你可以看看他们的 [指南](http://www.wolfpackempire.com/infopages/Guide.html) 来玩这个游戏，因为学习起来非常具有挑战性。


游戏区域包含城市、土地和水。你需要用军队、船只、飞机和其他资源扩展你的城市。通过快速扩张，你可以通过在对方动作之前摧毁它们来捕获其他城市。


##### 如何安装？


安装很简单，只需输入以下命令：



```
sudo apt install empire
```

#### 8、Nudoku


![Nudoku is a terminal version game of Sudoku](/data/attachment/album/201902/17/210237fzl75zvjsow717az.jpg)


喜欢数独游戏？好吧，你也有个 Nudoku 游戏，这是它的克隆。这是当你想放松时的一个完美的消磨时间的 ASCII 游戏。


它为你提供三个难度级别：简单、正常和困难。如果你想要挑战电脑，其难度会非常难！如果你只是想放松一下，那么就选择简单难度吧。


##### 如何安装？


安装它很容易，只需在终端输入以下命令：



```
sudo apt install nudoku
```

#### 9、Nethack


最好的地下城式 ASCII 游戏之一。如果你已经知道一些 Linux 的 ASCII 游戏，我相信这是你的最爱之一。


它具有许多不同的层（约 45 个），并且包含一堆武器、卷轴、药水、盔甲、戒指和宝石。你也可以选择“永久死亡”模式来玩试试。


在这里可不仅仅是杀戮，你还有很多需要探索的地方。


##### 如何安装？


只需按照以下命令安装它：



```
sudo apt install nethack
```

#### 10、ASCII 滑雪


![ascii jump game](/data/attachment/album/201902/17/210239wtpdpx7tlppppp3d.jpg)


<ruby> ASCII 滑雪 <rt>  ASCII Jump </rt></ruby> 是一款简单易玩的游戏，你必须沿着各种轨道滑动，同时跳跃、改变位置，并尽可能长时间地移动以达到最大距离。


即使看起来很简单，但是看看这个 ASCII 游戏视觉上的表现也是很神奇的。你可以从训练模式开始，然后进入世界杯比赛。你还可以选择你的竞争对手以及你想要开始游戏的山丘。


##### 如何安装？


只需按照以下命令安装它：



```
sudo apt install asciijump
```

#### 11、Bastet


![Bastet is tetris game in ascii form](/data/attachment/album/201902/17/210241qg111ng9nkns9a6q.jpg)


不要被这个名字误导，它实际上是俄罗斯方块游戏的一个有趣的克隆。


你不要觉得它只是另一个普通的俄罗斯方块游戏，它会为你丢下最糟糕的砖块。祝你玩得开心！


##### 如何安装？


打开终端并键入如下命令：



```
sudo apt install bastet
```

#### 12、Bombardier


![Bomabrdier game in ascii form](/data/attachment/album/201902/17/210243x5bsjbskf2zosnpk.jpg)


Bombardier 是另一个简单的 ASCII 游戏，它会让你迷上它。


在这里，你有一架直升机（或许你想称之为飞机），每一圈它都会降低，你需要投掷炸弹才能摧毁你下面的街区/建筑物。当你摧毁一个街区时，游戏还会在它显示的消息里面添加一些幽默。很好玩。


##### 如何安装？


Bombardier 可以在官方软件库中找到，所以只需在终端中键入以下内容即可安装它：



```
sudo apt install bombardier
```

#### 13、Angband


![Angband ascii game](/data/attachment/album/201902/17/210245ymuj00ummwjovsoe.jpg)


一个很酷的地下城探索游戏，界面整洁。在探索该游戏时，你可以在一个屏幕上看到所有重要信息。


它包含不同种类的种族可供选择角色。你可以是精灵、霍比特人、矮人或其他什么，有十几种可供选择。请记住，你需要在最后击败黑暗之王，所以尽可能升级你的武器并做好准备。


##### 如何安装？


直接键入如下命令：



```
sudo apt install angband
```

#### 14、GNU 国际象棋


![GNU Chess is a chess game that you can play in Linux terminal](/data/attachment/album/201902/17/210247mvzw18lluavrhv8w.jpg)


为什么不下盘棋呢？这是我最喜欢的策略游戏了！


但是，除非你知道如何使用代表的符号来描述下一步行动，否则 GNU 国际象棋可能很难玩。当然，作为一个 ASCII 游戏，它不太好交互，所以它会要求你记录你的移动并显示输出（当它等待计算机思考它的下一步行动时）。


##### 如何安装？


如果你了解国际象棋的代表符号，请输入以下命令从终端安装它：



```
sudo apt install gnuchess
```

#### 一些荣誉奖


正如我之前提到的，我们试图向你推荐最好的（也是最容易在 Linux 机器上安装的那些） ASCII 游戏。


然而，有一些标志性的 ASCII 游戏值得关注，它们需要更多的安装工作（你可以获得源代码，但需要构建它/安装它）。


其中一些游戏是：


* [Cataclysm: Dark Days Ahead](https://github.com/CleverRaven/Cataclysm-DDA)
* [Brogue](https://sites.google.com/site/broguegame/)
* [Dwarf Fortress](http://www.bay12games.com/dwarves/index.html)


你可以按照我们的 [从源代码安装软件的完全指南](/article-9172-1.html) 来进行。


### 总结


我们提到的哪些 ASCII 游戏适合你？我们错过了你最喜欢的吗？


请在下面的评论中告诉我们你的想法。




---


via: <https://itsfoss.com/best-ascii-games/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


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


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Text-based or should I say [terminal-based games](https://itsfoss.com/best-command-line-games-linux/) were very popular more than a decade back – when you didn’t have visual masterpieces like God Of War, Red Dead Redemption 2 or Spider-Man.

Of course, the Linux platform has its share of good games – but not always the “latest and greatest”. But, there are some ASCII games out there – to which you can never turn your back on.

I’m uncertain if you’d believe me, but some ASCII games on this list proved to be very addictive (So, it might take a while for me to resume work on the next article, or I might just get fired? — Help me!😂)

Jokes apart, let's take a look at the best ASCII games.

## Things to do before Running or Installing an ASCII Game

Before we begin, some ASCII games might require you to install [Simple DirectMedia Layer](https://www.libsdl.org/?ref=itsfoss.com), unless you already have it installed. I suggest you install it before trying to run any of the games mentioned in this article.

For that, you need to type in these commands:

`sudo apt install libsdl2-2.0-0 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsmpeg0 lua5.4`


## 1. Curse of War

![a screenshot of curse of war](https://itsfoss.com/content/images/2023/07/curse-of-war.png)

[Curse of War](https://a-nikolaev.github.io/curseofwar/) is an interesting strategy game. You might find it a bit confusing at first, but once you get to know it – you’ll love it. I’ll recommend you to take a look at the rules of the game on their homepage before launching the game.

You will be building infrastructure, securing resources and directing your army to fight. All you have to do is place your flag in a good position to let your army take care of the rest. It’s not just about attacking – you need to manage and secure the resources to help win the fight.

If you’ve never played any ASCII game before, be patient and spend some time learning it – to experience it to its fullest potential.

**How to install?**

You will find it in the official repository. So, type in the following command to install it:

`sudo apt install curseofwar`


## 2. ASCII Sector

![a screenshot of ascii sector](https://itsfoss.com/content/images/2023/07/asciisector.png)

Hate strategy games? Fret not, [ASCII sector](https://asciisector.fandom.com/wiki/Ascii_Sector_Wiki) is a game that has a space-setting and lets you explore a lot.

Also, the game isn’t just limited to exploration, you need some action? You got that here as well. Of course, not the best combat experience- but it is fun. It gets even more exciting when you see a variety of bases, missions, and quests.

You’ll encounter a leveling system in this tiny game, where you have to earn enough money or trade to upgrade your spaceship.

The best part about this game is – you can create your own quests or play other’s.

**How to install?**

You need to first download and unpack the archived package from [here](https://web.archive.org/web/20230630162623/https://www.asciisector.net/download/). After it’s done, open up your terminal and type these commands:

```
cd Downloads
cd asciisec
chmod +x asciisec
./asciisec
```


## 3. DRL

![a screenshot of drl](https://itsfoss.com/content/images/2023/07/doomrl.png)

You may know the classic game “Doom”. So, if you want a scaled down experience of it, [DRL](https://drl.chaosforge.org/?ref=itsfoss.com) is for you. It's an ASCII-based game that is very small in size, with lots of gameplay.

**How to install?**

Before you begin, ensure to install these additional packages:

`sudo apt install libsdl-image1.2 libsdl-mixer1.2 libsdl1.2debian libsmpeg0 lua5.1 timidity libpng16-16`


After that, you need to download the archive from their [download page](https://drl.chaosforge.org/downloads?ref=itsfoss.com) and extract it to a folder. Then type these commands:

```
cd Downloads // navigating to the location where the unpacked folder exists
cd doomrl-linux-x64-0997
chmod +x doomrl
./doomrl
```


## 4. Pyramid Builder

![a screenshot of pyramid builder](https://itsfoss.com/content/images/2023/07/pyramid-builder.png)

[Pyramid Builder](https://standardcombo.itch.io/pyramid-builder?ref=itsfoss.com) is an innovative take as an ASCII game where you get to improve your civilization by helping build pyramids.

You need to direct the workers to farm, unload cargo, and move the gigantic stones to successfully build the pyramid.

It is indeed a beautiful ASCII game to play.

**How to install?**

Simply head over to the [official site](https://standardcombo.itch.io/pyramid-builder?ref=itsfoss.com), and grab the package. After extracting it, navigate to the folder and run the executable file.

```
cd Downloads
cd pyramid_builder_linux
chmod +x pyramid_builder_linux.x86_64
./pyramid_builder_linux.x86_64
```


## 5. DiabloRL

![a screenshot of diablorl](https://itsfoss.com/content/images/2023/07/diabloRL.png)

If you’re an avid gamer, then you must have heard about Blizzard’s Diablo 1. It is undoubtedly one of the good ones.

With [DiabloRL](https://diablo.chaosforge.org) you get the chance to play a unique rendition of the game in an ASCII format. It is a turn-based rogue-like game that is insanely good.

You get to choose from a variety of classes (Warrior, Sorcerer, or Rogue). Every class would result in a different gameplay experience with a set of different stats.

Of course, personal preference will differ – but it’s a decent “unmake” of Diablo. What do you think?

**How to install?**

You can grab the archive from the official [downloads page](https://diablo.chaosforge.org/downloads). To run it, simply go into the extracted folder and run this command:

`./rl`


## 6. Ninvaders

![a screenshot of ninvaders](https://itsfoss.com/content/images/2023/07/ninvaders.png)

[Ninvaders](https://ninvaders.sourceforge.net) is one of the best ASCII games just because it’s so simple to learn, and also acts an arcade game to kill time.

In this, you have to defend against a horde of invaders, and have to finish them off before they get to you. It sounds basic, but it's a challenging game.

**How to install?**

Similar to Curse of War, you can find this in the official repository. So, just type in this command to install it:

`sudo apt install ninvaders`


## 7. Empire

![a screenshot of empire](https://itsfoss.com/content/images/2023/07/empire.png)

[Empire](http://www.wolfpackempire.com/?ref=itsfoss.com) is a real-time strategy game that requires an active Internet connection.

The rectangle contains cities, land, and water. You need to expand your city with an army, ships, planes and other resources. By expanding quickly, you will be able to capture other cities by destroying them before they make a move.

I’m personally not a fan of Real-Time strategy games, but if you are a fan of such games. You should check out their [guide](http://www.wolfpackempire.com/infopages/Guide.html?ref=itsfoss.com) for playing this game – because it can be challenging to learn.

**How to install?**

Installing this is very simple, just type in the following command:

`sudo apt install empire`


## 8. Nudoku

![a screenshot of nudoku](https://itsfoss.com/content/images/2023/07/nudoku.png)

Love Sudoku? Well, you have [Nudoku](https://jubalh.github.io/nudoku/) – a clone for it. A perfect time-killing ASCII game while you relax.

It presents you with three difficulty levels – Easy, normal, and hard. If you want to put up a challenge with the computer, the hard difficulty will be perfect! If you just want to chill, go for the easy one.

**How to install?**

It’s straightforward to get it installed, just type in the following command in the terminal:

`sudo apt install nudoku`


## 9. NetHack

![a screenshot of nethack](https://itsfoss.com/content/images/2023/07/NetHack.png)

[NetHack](https://www.nethack.org) is a dungeons and dragon-style ASCII game which might be one of the best out there. I think it’s one of your favorites already, if you know about ASCII games for Linux – in general.

It features plenty of different levels (40+) and comes packed in with many weapons, scrolls, potions, armor, rings, and gems. You can also choose a perma-death mode to play it.

It’s not just about killing here – you get a lot to explore around.

**How to install?**

Simply follow the command below to install it:

`sudo apt install nethack-x11`


## 10. ASCII Jump

![a screenshot of ascii jump](https://itsfoss.com/content/images/2023/07/asciijump.png)

[ASCII Jump](https://launchpad.net/ubuntu/jammy/+package/asciijump) is a dead simple Ski-jumping game where you have to slide along a variety of tracks – while jumping, changing position, and moving as long as you can to cover the maximum distance.

It’s really amazing to see how this ASCII game looks (visually) even though it seems so simple.

You can start with the training mode and then proceed to the world cup. You also get to pick your competitors and the hills on which you want to start the game.

**How to install?**

To install the game, just type the following command:

`sudo apt install asciijump`


## 11. Bastet

![a screenshot of bastet](https://itsfoss.com/content/images/2023/07/bastet.png)

Let’s just not pay any attention to the name – [Bastet](https://github.com/fph/bastet) is actually a fun clone of the good old Tetris game.

You shouldn’t expect it to be just another ordinary Tetris game – but it will present you the worst possible bricks to play with. Have fun!

**How to install?**

Open the terminal and type in the following command:

`sudo apt install bastet`


## 12. Bombardier

![a screenshot of bombardier](https://itsfoss.com/content/images/2023/07/bombardier.png)

[Bombardier](https://launchpad.net/ubuntu/+source/bombardier) is yet another simple ASCII game which will keep you hooked on to it.

Here, you have a helicopter (or whatever you’d like to call your aircraft) which lowers down every cycle, and you need to throw bombs to destroy the blocks/buildings under you.

The game also puts a pinch of humor in the messages it displays when you destroy a block. It's fun.

**How to install?**

Bombardier is available in the official repository, so just type in the following in the terminal to install it:

`sudo apt install bombardier`


## 13. Angband

![a screenshot of angband](https://itsfoss.com/content/images/2023/07/angband.png)

[Angband](https://rephial.org) is a cool dungeon exploration game with a neat interface. You can see all the vital information in a single screen while you explore the game.

It contains different kinds of character races. You can either be an Elf, Hobbit, Dwarf, or something else – there’s nearly a dozen to choose from.

Remember, that you need to defeat the lord of darkness at the end – so make every upgrade possible to your weapon and get ready.

**How to install?**

You can head over to the [official documentation](https://angband.readthedocs.io/en/latest/hacking/compiling.html) site to learn how to compile it using the source code found in its [GitHub repo](https://github.com/angband/angband).

For a simpler approach, type in the following command:

`sudo apt install angband`


## 14. GNU Chess

![a screenshot of gnuchess](https://itsfoss.com/content/images/2023/07/gnuchess.png)

How can you not play chess? It is my favorite strategy game!

But, [GNU Chess](https://www.gnu.org/software/chess/) can be tough to play with unless you know the Algebraic notation to describe the next move. Of course, being an ASCII game – it isn’t quite possible to interact – so it asks you the notation to detect your move and displays the output (while it waits for the computer to think its next move).

**How to install?**

If you’re aware of the algebraic notations of Chess, enter the following command to install it from the terminal:

`sudo apt install gnuchess`


## Some Honorable Mentions

As I mentioned earlier, we’ve tried to recommend you the best (but also the ones that are the easiest to install on your Linux machine).

However, there are some iconic ASCII games which deserve your attention. But, these require a tad more effort to install (* You will get the source code, and you need to build it / install it*).

Some of those games are:

You may follow [our guide](https://itsfoss.com/install-software-from-source-code/) on how to install software from source code.

So, wrapping up.

*💬 Which of the ASCII games sounds good to you? Did we miss any of your favorites? Let us know in the comments below!*