Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
40.98 GB
Server Addr
19-www4
Your IP
10.10.10.40
Edit File
File:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><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.78.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 bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><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 name="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%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60389968.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%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60396944.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%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60404480.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%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60412944.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%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp60417936.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>