我最喜欢在 Linux 上玩的休闲游戏
游戏 KDE

> 
> 在编译开源代码的同时在 Linux 上玩电子游戏。
> 
> 
> 


![](/data/attachment/album/202204/05/162045ecqsvd80cq2050dd.jpg "Gaming with penguin pawns")


我喜欢一款可以让自己沉浸数小时的好游戏，但我并不总是能够忽略工作而消失在电子游戏中。尽管如此，我还是喜欢不时的接受有趣的挑战，当我的计算机忙于做一些我需要等待的事情时，我最喜欢启动的两个应用程序是来自 KDE 游戏包的游戏：**KBlocks** 和 **Kolf**。


### KBlocks


我最喜欢的电子游戏是这种从方块从天上掉下来，最好是落成一排，当方块相邻时就会神奇的消失的游戏。KBlocks 就是这样的，它的实现很棒。它可以使用**左箭头**和**右箭头**控制方块进行旋转，使用**下箭头**让方块更快的下落，使用**空格键**直接落下方块，不同的难度级别，方块下落的速度不同。


![KBlocks](/data/attachment/album/202204/05/162049peiifdesszyedidj.jpg "KBlocks")


（Seth Kenlon, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)）


KBlocks 的默认主题是古埃及，这对游戏的玩法没有影响，但对于古埃及的爱好者来说可能是愉快的游戏体验。不过，你可以在“<ruby> 配置 KBlocks <rt>  Configure KBlocks </rt></ruby>”菜单项中更改主题。有一个名为 “Plasma” 的替代主题，或者你可以单击“<ruby> 获取新主题 <rt>  Get New Themes </rt></ruby>”按钮并下载由用户贡献的主题。


![KBlocks Invaders by José Jorge](/data/attachment/album/202204/05/162049oi00zt4jh7ehhj7d.jpg "KBlocks Invaders by José Jorge")


(Seth Kenlon, CC BY-SA 4.0)


主题纯粹是美学方面的事情，但就艺术类型的人而言，为休闲游戏创建主题可能是为开源项目作出贡献的一种有趣方式。


#### 引导我进入 KDE Plasma 桌面的游戏


我承认，KBlocks 对我来说很难放下。事实上，正是我在会议期间玩游戏的愿望让我在 Emacs 中找到了 `M-x tetris` 命令，这反过来又让我发现并爱上了 Linux。这个游戏有很大的魅力。也许 KBlocks 将成为你发现 KDE Plasma 桌面的途径？


### Kolf


我不喜欢现实生活中的高尔夫，但在电脑上，迷你高尔夫结合了模拟物理和有趣的关卡设计，既令人愉快，又令人沮丧。Kolf 的目标如你所料：将高尔夫球打入洞中。当然，目的地总是在拐角处、需要越过山丘、经过池塘或者在墙后，因此你的目标是计算球速、摩擦力、坡度和轨迹，使其完美地让球回到球洞并尽可能少的击打球。


![Miniature golf](/data/attachment/album/202204/05/162050fursffgfmgsz8qud.jpg "Miniature golf")


（Seth Kenlon, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)）


它从来没有看起来那么简单，而且我认为看着高尔夫球从物体上反弹，并滚下你从未打算让它靠近的山丘，这永远不会过时。


#### 设计自己的球场


当你尝试设计自己的迷你高尔夫球场时，乐趣才真正开始。是的，Kolf 有一个关卡编辑器，你可以在其中建造墙壁、放置池塘、山丘和沙坑，添加弹球式保险杠等等。


![Kolf editor](/data/attachment/album/202204/05/162050mdd7hfdqmcd72h82.jpg "Kolf editor")


（Seth Kenlon, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)）


因为 Kolf 可以是多人游戏，所以给每个玩家五分钟的时间来设计一个关卡，然后看看谁在谁的关卡上做的最好，这特别有趣。


### Linux KDE 游戏


这绝不是 KDE 项目中仅有的两款游戏。还有许多其它游戏，包括卡牌游戏、拼图游戏和街机游戏。KDE 游戏包的好处是，它们包含了你可以随时走开的游戏，而且它们只需要你一点点的注意力。我在编译代码时使用这些游戏来消磨时间。有时候我并不能完整的玩完一局游戏，但我总是很欣赏这种心理状态的微妙转变。




---


via: <https://opensource.com/article/22/2/casual-gaming-linux-kde>


作者：[Seth Kenlon](https://opensource.com/users/seth) 选题：[lujun9972](https://github.com/lujun9972) 译者：[perfiffer](https://github.com/perfiffer) 校对：[wxy](https://github.com/wxy)


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


OK
I love a good game that you can immerse yourself in for hours, but I don't always have the luxury of ignoring daily tasks to disappear into a video game. Still, I do love a fun challenge from time to time, and two of my favourite applications to launch when my computer gets busy doing something that I need to wait on are games from the KDE Games package: **KBlocks** and **Kolf**.

## KBlocks

My favorite video game involves blocks falling from the sky, and ideally landing in rows which magically disappear when blocks are contiguous. KBlocks is one implementation of that format, and it's a good one. It's got responsive block rotation with** Left** and **Right Arrow**, adjustable faster fall with the **Down Arrow**, instant fall with **Spacebar**, There are a few different levels of difficulty to control how quickly blocks fall.

![KBlocks KBlocks](https://opensource.com/sites/default/files/kblocks.jpg)

(Seth Kenlon, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/))

The default theme of KBlocks is ancient Egyptian, which has no bearing on gameplay but can be pleasant for Egyptophiles. You can change the theme, though, in the **Configure KBlocks** menu item. An alternate theme called **Plasma** is included, or you can click on **Get New Themes** button and download user-contributor themes.

![KBlocks Invaders by José Jorge KBlocks Invaders by José Jorge](https://opensource.com/sites/default/files/kblocks-invaders.jpg)

(Seth Kenlon, CC BY-SA 4.0)

The theme is purely aesthetic, but for the artistic type, creating a theme for a casual game could be a fun way to contribute to an open source project.


### A gateway game to the KDE Plasma Desktop

I'll admit, KBlocks is difficult for me to put down. In fact, it was my desire to play games during meetings that led me to find the `M-x tetris`

command in Emacs, which in turn caused me to discover, and fall in love with, Linux in the first place. There's great power in this game. Maybe KBlocks will be the way you discover the KDE Plasma Desktop?

## Kolf

I don't like golf in real life, but on the computer miniature golf is a pleasantly frustrating mix of simulated physics and fun level design. With Kolf, the goal is as you'd expect: hit a golf ball into a hole. The destination is, of course, always around a corner, over a hill, past a pond, or behind a wall, so it's your goal to calculate ball speed, friction, incline, and trajectory with such perfection that you get the ball home in as few hits as possible.

![Miniature golf Miniature golf](https://opensource.com/sites/default/files/kolf.jpg)

(Seth Kenlon, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/))

It's never as easy as it looks, and I don't think it ever gets old to watch the golf ball bounce off of objects and roll down hills that you never intended for it to go near.

### Designing your own course

The fun really begins when you try your hand at designing your own miniature golf course. Yes, Kolf has a level editor, in which you can build walls, place ponds and hills and sandtraps, add pinball-style bumbers, and more.

![Kolf editor Kolf editor](https://opensource.com/sites/default/files/kolf-edit.jpg)

(Seth Kenlon, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/))

Because Kolf can be a multi-player game, it's especially fun to give each player five minutes to design a level, and then see who does best at whose level.

## Linux KDE games

These aren't by any means the only two games from the KDE project. There are many others, including card games, tile games, and arcade games. The nice thing about the KDE Games package is that they contain games you're happy to walk away from at a moment's notice, and they only require about a fourth of your attention. I use these to kill time while compiling code. Sometimes I don't get a full game in, but I always appreciate the subtle shift in mental gears.

## 10 Comments