= Zombie game

During the Halloween season, I break out all my favourite board games and video games and immerse myself in the ancient lore of vampires in the gothic land of Ravenloft, wander through a brisk autumnal zombie apocalypse, and test my mettle against the other-worldly intrigue of Cthulu.
Even my KDE Plasma Desktop isn't immune from this haunting, as I also enjoy switching the theme of the casual **KMines** game over to the _Graveyard Mayhem_ theme.

image:kmines.webp[KMines is an implementation of the classic Minesweeper game.]

== KMines

The KMines game is part of the KDE Gear application suite, and it's a fun implementation of the classic desktop pass-time, Minesweeper.
The goal is simple: Click on all squares (or grave plots, in the case of the Graveyard Mayhem theme) without clicking on one containing a zombie.

You can install KMines from https://apps.kde.org/kmines[apps.kde.org].
Once it's installed, click the **Settings** menu and select **Configure KMines**.
In the **Theme** settings panel, select **Graveyard Mayhem**.

image:kmines-themes.webp[Select the Graveyard Mayhem theme to start the zombie apocalypse.]

You're not forced to click arbitrarily in KMines.
After your first click, all adjacent safe grave plots are revealed up until a zombie is detected within 2 squares.
Even better, each bordering "threatened" square displays the number of squares it is from the threatened space.
Sounds simple, except that this is a matrix, and a threat can exist in any one of the 8 surrounding squares.

For instance, in this screenshot I've clicked on the extreme northwest square:

image:kmines-threat.webp[12 squares have been revealed, with column 3 and row 4 showing an alert of 1 threatened square.]

To continue without uncovering a zombie, you must analyze the squares adjacent to each threat and decide for yourself what square is safe.
Technically, there are always 8 possible positions for a threat, but realistically a threatened square is basically never uncovered without some safe squares bordering it.
I usually start at the edges, because those eliminate even more squares.

image:kmines-threat-vector.webp[The top of column 3 can only have 2 threatened squares, both of which overlap with the threat vector of column 3 row 2.]

Because both the grave plot at the top of column 3 and the plot below it are marked as threatened, the probability of a zombie in the top two spaces of column 4 is extremely high.

Of course, you continue this threat analysis for each threatened space, and ultimately you build a mental image of what your threat vectors are.
Everyone has their own strategy in a zombie apocalypse, and KMines is no different.
(Except that in KMines, you're _starting_ the zombie apocalypse.
Stop digging up graves!)
You could build up your threat map by clicking on the northeast grave plot, slowly encroaching on the threatened squares until it (hopefully) becomes obvious which square to avoid.
You could just take your chances and click on a square you _feel_ is safest.

The cold, hard truth of the game is that ultimately you have to keep clicking.
You're probably going to uncover a zombie eventually, and all it takes is one.
When one zombie is exposed, the game is over.
It's abrupt, it's frustrating, and it's...actually really good training.

== Threat analysis

Clicking through a graveyard trying to avoid zombies is a fun way to kill time (and you may as well kill time, because you can't kill the undead) but the analysis is what intrigues me.
Is KMines a game of probability?
Or is it a game of investigation?
Is there ever a way to be sure of what threat lurks on the game board?

It can feel a little hopeless.
And yet, you opened the game.
It's your _job_ to clear the board, and so it's your job to ascertain where on the board the threat exists.

Stop me if this is actually sounding like work, but in the tech industry this has to be the goal of not just the CIO, not just the architect, not just the systems administrator, but literally everyone.

Is that email with the subject "Your inbox is too full!" asking employees to enter their password into an official-looking website _really_ from IT?
If so, what are the ways IT could have avoided phishing, and instilled confidence in, its own clients?
If not, why are the employees seeing the email at all?

Are employees using external, non-approved services to broker sensitive information?
If so, what are the ways IT can provide a safe and supported means of achieving the same results?
If not, how secure are the internal solutions that do exist?

It's important work, and KMines in zombie mode is often my reminder that there's probably something within my sphere of influence that could be analyzed, considered, and possibly dug up out of its dusty resting place at least for a quick once-over.

== Games can also be fun

Most importantly, though, KMines in zombie mode is just fun.
Honest.

I do, but you don't have to think about work when you play it.
You can just click on squares randomly, and see how long you lost.
Just know that in the end, the zombies _will_ probably win, but the human spirit is strong, and the KDE Plasma Desktop is really good at making its idle games fun through silly themes.