Home  >  Article  >  Operation and Maintenance  >  Are there any games on linux?

Are there any games on linux?

WBOY
WBOYforward
2023-05-21 10:19:302663browse

Linux has games, for example: 1. Bastet, which is the Linux version of Tetris. Use the "sudo apt install bastet" command to install it; 2. Ninvaders (Space Invaders) , is a Linux version of the arcade game; 3. nSnake, is the Linux version of the snake game; 4. 2048 and so on. By installing Wine software on Linux, users can play most Windows games on the Linux platform.

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 any games on 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 any games on 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. The terminal version of the Pacman game, Pacman4console, is the most popular.

Are there any games on 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 any games on 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 any games on 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 any games on linux?

Use the following command to install the game:

<code><pre class="brush:js;toolbar:false">sudo apt-get install bsdgames</pre>

Type the following command to start Game:

atc

ATC is not a child'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 any games on linux?

Use the following command to install Backgammon:

<code><pre class="brush:js;toolbar:false">sudo apt-get install bsdgames</pre>

Type the following Command to start the game:

backgammon

When you are prompted about the rules of the game, just reply 'y'.

8. Moon Buggy

Jump and fire. Needless to say, happy hour.

Are there any games on 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 any games on linux?

Copy and paste the following command to install the game:

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

键入下列命令启动游戏:

./2048

10、Tron

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

Are there any games on linux?

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

ssh sshtron.zachlatta.com

扩展知识:

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

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

通过在Wine的基础上开发出Proton,Steam极大地提高了游戏的多线程性能。启用 Steam Play 选项在 Steam 设置中,可以让你畅玩 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 any games on linux?

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

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

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete