Sha256: 1e571e3b437313b1935671a7c5f9e54145621bcc0041b433181609e83e592fef

Contents?: true

Size: 1.84 KB

Versions: 77

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/installing) 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

77 entries across 77 versions & 1 rubygems

Version Path
trackler-2.2.1.71 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.70 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.69 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.68 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.67 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.66 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.65 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.64 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.63 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.62 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.61 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.60 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.59 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.58 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.57 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.56 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.55 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.54 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.53 tracks/delphi/exercises/minesweeper/README.md
trackler-2.2.1.52 tracks/delphi/exercises/minesweeper/README.md