Home >Common Problem >Are there games for linux?

Are there games for linux?

青灯夜游
青灯夜游Original
2023-03-09 11:07:445004browse

Linux has games, such as: 1. Bastet, which is the Linux version of Tetris. Use the "sudo apt install bastet" command to install it; 2. Ninvaders (Space Invaders), which is a Linux version. Arcade game; 3. nSnake, which is the Linux version of Snake game; 4. 2048 and so on. And install Wine software on Linux, with the help of this software, Linux can also play most Windows games.

Are there games for linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

Linux has games.

Gaming is one of Linux's traditional weaknesses, but thanks to Steam, GOG and other game developers porting commercial games to multiple operating systems, this weakness of Linux has improved in recent years. . For example:

1, Bastet

Bastet is the Linux version of Tetris.

Are there games for linux?

Use the following command to get Bastet:

sudo apt install bastet

Run the following command to start the game in the terminal:

bastet

Use the space bar Rotate the block, and use the arrow keys to control the movement of the block.

2. Ninvaders

Space Invaders. I still remember playing this game, competing with my brother for the highest score. This is one of the best arcade games.

Are there games for linux?

Copy and paste this code to install Ninvaders.

sudo apt-get install ninvaders

Use the following command to start the game:

ninvaders

The arrow keys move the spaceship. Space bar to shoot aliens.

3. Pacman4console

Yes, this is the king of arcade machines. Pacman4console is the terminal version of the most popular arcade game Pacman.

Are there games for linux?

Use the following command to obtain pacman4console:

sudo apt-get install pacman4console

Open the terminal, it is recommended to use the largest terminal interface. Type the following command to start the game:

pacman4console

Use the arrow keys to control movement.

4. nSnake

Remember the Snake game played on old Nokia phones?

This game kept me hooked on my phone for a long time. I have designed various poses to get a longer snake body.

Are there games for linux?

Use the following command to install it:

sudo apt-get install nsnake

Type the following command to start the game:

nsnake

Use the arrow keys to control the snake body and Feed it.

5. Greed

Greed is a bit like Tron (similar to the evolved version of Snake), but it has reduced speed and is not as exciting.

Your current location is indicated by a flashing ‘@’. You are surrounded by numbers and you can move in any of the four directions.

The number marked on the movement direction you choose is the number of steps you can move. You will repeat this step. The path you have taken cannot be taken again. If you have no way to go, the game is over.

It seems like I made it sound more complicated.

Are there games for linux?

Get Greed with the following command:

sudo apt-get install greed

Start the game with the following command and use the arrow keys to control the game.

greed

6. Air Traffic Controller

What is more interesting than being a pilot? That's the air traffic controller. In your terminal you can simulate an air traffic system. To be honest, managing air traffic in the terminal is quite interesting.

Are there games for linux?

Install the game using the following command:

sudo apt-get install bsdgames

Type the following command to launch the game:

atc

ATC is not a kid's game. It is recommended to check the official documentation.

7. Backgammon

Whether you have played backgammon before or not, you should check this out. Its instruction manual and control manual are very user-friendly. If you like, challenge your computer or your friends.

Are there games for linux?

Install Backgammon using the following command:

sudo apt-get install bsdgames

Type the following command to start the game:

backgammon

When you are prompted with the rules of the game, Just reply 'y'.

8. Moon Buggy

Jump and fire. Needless to say, happy hour.

Are there games for linux?

Use the following command to install the game:

sudo apt-get install moon-buggy

Use the following command to start the game:

moon-buggy

Space jump, 'a' or 'l 'shooting. Enjoy it.

9, 2048

2048 can activate your brain. 2048 is a strategy game that is very addictive. Aiming to get 2048 points.

Are there games for linux?

复制粘贴下面的命令安装游戏:

wget https://raw.githubusercontent.com/mevdschee/2048.c/master/2048.cgcc -o 2048 2048.c

键入下列命令启动游戏:

./2048

10、Tron

没有动作类游戏,这张榜单怎么可能结束?

Are there games for linux?

是的,Linux 终端可以实现这种精力充沛的游戏 Tron。为接下来迅捷的反应做准备吧。无需被下载和安装困扰。一个命令即可启动游戏,你只需要一个网络连接:

ssh sshtron.zachlatta.com

扩展知识:

除了原生支持 Linux 的游戏,Linux 还可以玩绝大部分 Windows 游戏。

Linux上有个软件叫 Wine,通过提供一个兼容层,让 Linux 可以安装运行 Windows 程序。

Steam在 Wine 的基础上,开发了 Proton,游戏的多线程性能得到了极大的提高。在 Steam 设置中勾选启用 Steam Play,即可畅玩 Windows 游戏。经过这两年迭代,Steam 上主流的 Windows 游戏几乎都能在 Linux 上安装运行,而且大部分游戏没有帧数差别,至少在我的 Ubuntu18.04 上是这样的。不仅如此,exe格式的汉化补丁也可以正常打。你可以在这里查询游戏是否得到支持:https://www.protondb.com/,不过真实运行状况也和硬件配置、系统环境有关。

经过我个人测试,目前仅 DirectX 12 下的生化3无法运行,切换成 DirectX 11 依然可以运行。通过查询 Proton 的 dxvk 可推断,目前最高版本的 Proton 5.0 可支持 dx9~11 的游戏,还不支持 dx12 的游戏。

运行汉化游戏的截图:

Are there games for linux?

注:游戏可以全屏运行,为展示系统,使用窗口运行。

相关推荐:《Linux视频教程

The above is the detailed content of Are there games for linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn