GNU ELPA - mines

mines

Description
Minesweeper game
Latest
mines-1.6.tar (.sig), 2024-Mar-31, 220 KiB
Maintainer
Tino Calancha <tino.calancha@gmail.com>
Atom feed
mines.xml
Website
https://github.com/calancha/Minesweeper
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This is an elisp implementation of the classical minesweeper game.
The target is localize all hidden mines (bombs) in a rectangular board
without detonating them.  You reveal the content of a cell with the
command `mines-dig'.

1. Cells with a bomb contain the character 'x'; if you call `mines-dig'
   in these cells then you lost the game.

2. Cells without bomb at distance 1 from any cell with a mine
   contain a number: the number of bombs at distance 1 from this cell.
   If you reveal the content of this cell, then this number is shown.

3. Cells without a bomb at distance > 1 from any bomb contain '@'.
   If you reveal the content of this cell, then '@' is shown and
   all adjacent cells are recursively revealed.


If you think that an uncovered cell has a mine, you might flag it
with `mines-flag-cell'; if you call this command again in the same
cell the cell is unflagged.  This is useful to visualize your
progress in the game.

The game is completed once all mine-free cells are revealed, that is,
when the only uncovered cells equals the number of hidden mines.

Old versions

mines-1.5.tar.lz2018-Jan-1420.5 KiB
mines-1.2.tar.lz2017-Nov-1218.7 KiB
mines-1.1.tar.lz2017-Nov-1118.7 KiB
mines-1.0.tar.lz2017-Nov-0718.6 KiB