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.104 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.103 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.102 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.101 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.100 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.99 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.98 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.97 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.96 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.95 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.94 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.93 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.92 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.91 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.90 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.89 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.88 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.87 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.86 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.85 tracks/delphi/exercises/minesweeper/README.md