The number of mines can be changed by using the minesweeper program written in java.