Locate all the mines hidden on the minefield.
To play KMines, you need to use the mouse and its three buttons to uncover or to flag the squares (with two-buttoned mice, clicking the mouse button is generally achieved by simultaneously pressing the mouse button and the mouse button buttons).
Clicking themouse button on your mouse will uncover a square. If there is a mine there, it will detonate, and the game will be over. If there is not a mine under the square, the square is cleared and if there aren't other mines nearby, the square will disappear including any nearby squares without mines. If there are mines nearby, a number will appear showing how many neighboring squares contain mines. For each square (excluding edge and corner squares), there are eight neighboring squares.
mouse button clicking a flagged square is safe and does nothing.
Themouse button will mark a square as containing a mine (by placing a red flag on it). Clicking the button twice will set it as being uncertain (by placing a question mark on it). The uncertain tag can be useful when you are puzzled about the positions of mines. The mouse button will clear the surrounding squares if the right number of squares is already flagged. It is very useful since it is much quicker than uncovering all individual squares. Make sure your flags are correctly placed, if not, you might detonate a mine.