lots of exercises in java... from https://github.com/exercism/java
Scott Ertel ebd47c44ed removed final keyword from test (#1438) пре 6 година
..
.meta forth: update version file (1.4.0 -> 1.5.0) #1377 change: update version file (1.1.0 -> 1.2.0) #1376 list-ops: update version file (2.0.0 -> 2.2.0) #1375 book-store: update version file (1.2.0 -> 1.3.0) #1373 circular-buffer: update version file (1.0.1 -> 1.1.0) #1371 ocr-numbers: update version file (1.0.0 -> 1.1.0) #1370 wordy: update version file (1.0.0 -> 1.1.0) #1362 minesweeper: update version file (1.0.0 -> 1.1.0) #1361 пре 6 година
src removed final keyword from test (#1438) пре 6 година
README.md Inline the exercise README insert (#1290) пре 6 година
build.gradle Format build.gradle files пре 7 година

README.md

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 |
+-----+

Running the tests

You can run all the tests for an exercise by entering

$ gradle test

in your terminal.

Submitting Incomplete Solutions

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