Minesweeper is a logical game which we might have seen in every version of windows. Here it has been developed on openGL platform. Mine...
Minesweeper is a logical game which we might have seen in every version of windows. Here it has been developed on openGL platform. Minesweeper is a single-player game. The objective of the game is to clear an abstract minefield without detonating a mine.
First of all make the random selection of one of its boxes. If we are in safe zone (i.e avoided any mines),then move further. we can get the clue by looking adjacent to uncovered box about probable mines location. we also get an idea about exact number of mines in adjacent to the boxes by looking at the numbers in uncovered adjacent boxes. If we get an empty uncovered box then there are no mines around that particular box.
There can be maximum of eight mines around the box. Based on the numbers of uncovered boxes we assess of being mines and to avoid it. It is somewhat uncertain about presence of mine based upon the uncovered boxes at that moment we make an random selection once again. If we press the all right location not consisting of mines then the player will win the game . If we press at the wrong location consisting of mines then the player loses the game.