Sha256: 847259a548031106043332b10e00dffd8f30696bf905fb06da095da8e13404cc

Contents?: true

Size: 1.84 KB

Versions: 33

Compression:

Stored size: 1.84 KB

Contents

# Minesweeper

Add the numbers to a minesweeper board.

Minesweeper is a popular game where the user has to find the mines using
numeric hints that indicate how many mines are directly adjacent
(horizontally, vertically, diagonally) to a square.

In this exercise you have to create some code that counts the number of
mines adjacent to a square and transforms boards like this (where `*`
indicates a mine):

    +-----+
    | * * |
    |  *  |
    |  *  |
    |     |
    +-----+

into this:

    +-----+
    |1*3*1|
    |13*31|
    | 2*2 |
    | 111 |
    +-----+

## Testing

In order to run the tests for this track, you will need to install
DUnitX. Please see the [installation](http://www.exercism.io/languages/delphi/installation) instructions for more information.

### Loading Exercises into Delphi

If Delphi is properly installed, and `*.dpr` file types have been associated with Delphi, then double clicking the supplied `*.dpr` file will start Delphi and load the exercise/project.  `control + F9` is the keyboard shortcut to compile the project or pressing `F9` will compile and run the project.

Alternatively you may opt to start Delphi and load your project via. the `File` drop down menu.

### When Questions Come Up
We monitor the [Pascal-Delphi](https://gitter.im/exercism/Pascal-Delphi) support room on [gitter.im](https://gitter.im) to help you with any questions that might arise.

### Submitting Exercises

Note that, when trying to submit an exercise, make sure the exercise file you're submitting is in the `exercism/delphi/<exerciseName>` directory.

For example, if you're submitting `ubob.pas` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/delphi/bob/ubob.pas`.


## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
trackler-2.2.1.84 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.83 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.82 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.81 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.80 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.79 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.78 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.77 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.76 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.75 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.74 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.73 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.72 tracks/delphi/exercises/minesweeper/README.md