Linux 终端上 10 个不容错过的游戏!你玩过几个?
共 5202字,需浏览 11分钟
·
2022-04-25 00:06
如果你想学习使用 Linux 终端,一个很好的开始方法是安装和玩一些游戏。这些游戏不仅有趣——它们也不需要兼容层[1]或昂贵的显卡[2]。
Bastet[3]
![](https://filescdn.proginn.com/cdfb85ba275d6932db03bbddbcc77d65/f2983f2660379f24552d213f1a3aef24.webp)
Bastet
。sudo apt install bastet
sudo dnf install bastet
bastet
并按 Enter。Pacman4Console[6]
![](https://filescdn.proginn.com/5abea9a72472e28f67722bbfca364f9f/08d56e0feaae6bebf100c830107ae6a5.webp)
sudo apt install pacman4console
pacman4console
并按 Enter。nSnake 贪吃蛇[8]
![](https://filescdn.proginn.com/c0544aef2a60ebab75a1e454e4db13fc/e12454583bad7f2d6b0a1b92b4270210.webp)
sudo apt install nsnake
sudo dnf install nsnake
nsnake
并按 Enter。2048[10]
![](https://filescdn.proginn.com/4aa33856bb803aa3131f20428ce048fb/895c971d7937f4a7e325158992ae04ec.webp)
sudo apt install 2048
sudo dnf install 2048-cli
2048
并按 Enter。Nudoku 数独[11]
![](https://filescdn.proginn.com/a4d44f51c108ba94b54ce0be7f8054aa/f88a639e0f10111578640b2b0392a8d7.webp)
sudo apt install nudoku
sudo dnf install nudoku
nudoku
并按 Enter。Moon Buggy 月球车[12]
![](https://filescdn.proginn.com/84e4571d0a6606e2809270826dd884db/b06d6bb91b9ab8082dafaf541bc2b7a9.webp)
sudo apt install moon-buggy
sudo dnf install moon-buggy
moon-buggy
并按 Enter。Ninvaders 侵略者[14]
![](https://filescdn.proginn.com/23782a764691b7a9ea520125eb79d30c/ee0c34ef549e9af63207e402af992983.webp)
sudo apt install ninvaders
ninvaders
请在终端中输入并按回车键。ASCII 巡逻[15]
![](https://filescdn.proginn.com/3b17ee21af6598e967333cabdaf70f95/047bcc56be9b1319e51691aeedf0e511.webp)
sudo apt install snapd
sudo dnf install snapd
snap install ascii-patrol
ascii-patrol
并按 Enter。Greed 贪婪 [19]
![](https://filescdn.proginn.com/ff510ad4e940cf7a5945df000f91cb13/548acaf60f9619d4acc00f25d803a5e9.webp)
@
字符表示。您可以使用直接向左、向右、底部或顶部的数字移动那么多地方。目标是消耗尽可能多的数字;然而,问题是你不能沿着你来的方向移动,当你不能再做任何动作时游戏就会结束。sudo apt install greed
greed
并按 Enter。BSD 游戏[20]
![](https://filescdn.proginn.com/50e9ed6e7fd42e890c55c6035505bca5/8d3785142e2610dcd2a20021b3fde1c5.webp)
sudo apt install bsdgames
参考资料
兼容层: https://www.howtogeek.com/752212/what-is-proton-for-steam-and-how-does-it-affect-gaming-on-linux/
[2]昂贵的显卡: https://www.howtogeek.com/726236/why-is-it-so-hard-to-buy-a-graphics-card-in-2021/
[3]Bastet: http://fph.altervista.org/prog/bastet.html
[4]基于 Ubuntu 的发行版 (distro): https://www.howtogeek.com/132624/htg-explains-whats-a-linux-distro-and-how-are-they-different/
[5]如果您正在运行 Fedora: https://www.howtogeek.com/782928/what-is-fedora-linux/
[6]Pacman4Console: https://github.com/YoctoForBeaglebone/pacman4console
[7]吃豆人: https://www.howtogeek.com/672938/40-years-later-pac-man-is-still-capturing-our-hearts/
[8]nSnake 贪吃蛇: https://github.com/alexdantas/nSnake
[9]要在 Debian 或基于 Ubuntu: https://www.howtogeek.com/763775/what-is-ubuntu/
[10]2048: https://github.com/mevdschee/2048.c
[11]Nudoku 数独: https://github.com/jubalh/nudoku
[12]Moon Buggy 月球车: https://github.com/seehuhn/moon-buggy
[13]Moon Buggy 与谷歌在 Chrome 上的恐龙游戏: https://www.howtogeek.com/684561/how-to-hack-the-hidden-google-chrome-dinosaur-game/
[14]Ninvaders 侵略者: http://ninvaders.sourceforge.net/
[15]ASCII 巡逻: http://ascii-patrol.com/
[16]Ascii: https://www.howtogeek.com/howto/45765/htg-explains-what-are-character-encodings-and-how-do-they-differ/
[17]Snap: https://www.howtogeek.com/660193/how-to-work-with-snap-packages-on-linux/
[18]如何在 Linux 上使用 Snap 包: https://www.howtogeek.com/660193/how-to-work-with-snap-packages-on-linux/
[19]Greed 贪婪 : http://www.catb.org/~esr/greed/
[20]BSD 游戏: https://github.com/vattam/BSDGames
[21]BSD: https://www.howtogeek.com/190773/htg-explains-whats-the-difference-between-linux-and-bsd/
[22]从源代码构建。: https://www.howtogeek.com/428988/how-to-install-software-using-git-on-linux/
[23]列表。: https://wiki.linuxquestions.org/wiki/BSD_games
[24]如何开始使用 Linux 终端: https://www.howtogeek.com/140679/beginner-geek-how-to-start-using-the-linux-terminal/
链接:https://www.howtogeek.com/791146/linux-terminal-games/
(版权归原作者所有,侵删)
![](https://filescdn.proginn.com/40910f9ede765ed3b1023ad750397da9/2d0f6e0bd9c43376c4b6fa6065730ca3.webp)