/usr/share/doc/aptitude/html/en/ch02s06.html is in aptitude-doc-en 0.8.10-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Playing Minesweeper</title><link rel="stylesheet" type="text/css" href="aptitude.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="aptitude user's manual" /><link rel="up" href="ch02.html" title="Chapter 2. aptitude reference guide" /><link rel="prev" href="ch02s05s06.html" title="Themes" /><link rel="next" href="ch03.html" title="Chapter 3. aptitude frequently asked questions" /><link rel="preface" href="pr01.html" title="Introduction" /><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started" /><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide" /><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions" /><link rel="chapter" href="ch04.html" title="Chapter 4. Credits" /><link rel="reference" href="rn01.html" title="Command-line reference" /><link rel="refentry" href="rn01re01.html" title="aptitude" /><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle" /><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Playing Minesweeper</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s05s06.html"><img src="images/prev.gif" alt="Prev" /></a> </td><th width="60%" align="center">Chapter 2. <span class="command"><strong>aptitude</strong></span> reference guide</th><td width="20%" align="right"> <a accesskey="n" href="ch03.html"><img src="images/next.gif" alt="Next" /></a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="secMinesweeper"></a>Playing Minesweeper</h2></div></div></div><p>
In case you get tired of installing and removing packages,
<span class="command"><strong>aptitude</strong></span> includes a version of the classic game
<span class="quote">“<span class="quote">Minesweeper</span>”</span>. To start it, select
<span class="guimenu">Actions</span> → <span class="guimenuitem">Play Minesweeper</span>; the initial Minesweeper board will appear:
</p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/mine-snapshot.png" width="100%" alt="[Minesweeper screen #1]" /></td></tr></table><div class="longdesc-link" align="right"><br clear="all" /><span class="longdesc-link">[<a href="ld-idm8017.html" target="longdesc">D</a>]</span></div></div></div><p>
Within the rectangle that appears on the screen are hidden ten
mines. Your goal is to determine, through intuition, logic,
and luck, where those mines are, without setting any of them
off! To do this, you must uncover all the squares that
<span class="emphasis"><em>do not</em></span> contain mines; in doing so, you
will learn important information regarding which squares do
contain mines. Beware, however: uncovering a square that
contains a mine will set it off, ending your game immediately!
</p><p>
To uncover a square (and find out whether a mine is hidden
there), select the square with the arrow keys and press
<span class="keycap"><strong>Enter</strong></span>:
</p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/mine-snapshot2.png" width="100%" alt="[Minesweeper screen #2]" /></td></tr></table><div class="longdesc-link" align="right"><br clear="all" /><span class="longdesc-link">[<a href="ld-idm8029.html" target="longdesc">D</a>]</span></div></div></div><p>
As you can see, some of the hidden (blank) parts of the board
have been revealed in this screenshot. The squares containing
a <code class="literal">.</code> are squares which are not next to
any mines; the numbers in the remaining squares indicate how
many mines they are next to.
</p><p>
If you think you know where a mine is, you can place a
<span class="quote">“<span class="quote">flag</span>”</span> on it. To do this, select the suspected
square and press <span class="keycap"><strong>f</strong></span>. For instance, in the
screenshot below, I decided that the square on the left-hand
side of the board looked suspicious...
</p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/mine-snapshot3.png" width="100%" alt="[Minesweeper screen #3]" /></td></tr></table><div class="longdesc-link" align="right"><br clear="all" /><span class="longdesc-link">[<a href="ld-idm8042.html" target="longdesc">D</a>]</span></div></div></div><p>
As you can see, an <code class="literal">F</code> appeared in the
selected square. It is no longer possible to uncover this
square, even accidentally, until the flag is removed (by
pressing <span class="keycap"><strong>f</strong></span> again). Once you have placed
flags on all the mines that are next to a square (for
instance, the squares labelled <code class="literal">1</code> next to
the flag above), you can <span class="quote">“<span class="quote">sweep</span>”</span> around the
square. This is just a convenient shortcut to uncover all the
squares next to it (except those containing a flag, of
course). For instance, sweeping around the
<code class="literal">1</code> above:
</p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/mine-snapshot4.png" width="100%" alt="[Minesweeper screen #4]" /></td></tr></table><div class="longdesc-link" align="right"><br clear="all" /><span class="longdesc-link">[<a href="ld-idm8056.html" target="longdesc">D</a>]</span></div></div></div><p>
Luckily (or was it luck?), my guess about the location of that
mine was correct. If I had been wrong, I would have lost
immediately:
</p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/mine-snapshot5.png" width="100%" alt="[Minesweeper screen #5]" /></td></tr></table><div class="longdesc-link" align="right"><br clear="all" /><span class="longdesc-link">[<a href="ld-idm8065.html" target="longdesc">D</a>]</span></div></div></div><p>
When you lose, the locations of all the mines are revealed:
unexploded mines are indicated by a caret symbol
(<code class="literal">^</code>), and the one you <span class="quote">“<span class="quote">stepped
on</span>”</span> is indicated by an asterisk (<code class="literal">*</code>).
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s05s06.html"><img src="images/prev.gif" alt="Prev" /></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html"><img src="images/up.gif" alt="Up" /></a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html"><img src="images/next.gif" alt="Next" /></a></td></tr><tr><td width="40%" align="left" valign="top">Themes </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home" /></a></td><td width="40%" align="right" valign="top"> Chapter 3. aptitude frequently asked questions</td></tr></table></div></body></html>
|