Search Projects

Monday, May 7, 2012

Minesweeper Game in Computer graphics

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.




Playing Strategy  

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.

CONCLUSION


  • We got satisfaction problem and explores the application of constraint propagation technique to interactively determine safe and mined squares. 
  • Understand and demystify human fascination with puzzles. 

Future scope


  • It will help students to gain cognitive asset of “making inferences and hypothetical thinking.
  • It is also being developed on  3D platform for more interactivness.

Video Demo

Source Code

No comments:

Post a Comment