Mine Sweeper Computer Graphics Project in OpenGL

 

Mine Sweeper Computer Graphics Mini Project in OpenGL – 18CSL67

Download the source code of Mine Sweeper Computer Graphics mini Project in OpenGL for computer graphics and Visualization laboratory with mini-project – 18CSL67.

Abstract

This mini-project demonstrates a simple game of Mine-Sweeper. Minesweeper is a single-player puzzle video game. The objective of the game is to clear a square board containing hidden “mines” without detonating any of them, with help from clues about the number of neighboring mines in each field. The game is played by revealing squares of the grid by clicking each square. If a square containing a mine is revealed, the player loses the game. If no mine is revealed, a digit is instead displayed in the square, indicating how many adjacent squares contain mines; if no mines are adjacent, the square becomes blank. The player uses this information to deduce other squares’ contents and may either safely reveal each square or mark the square as containing a mine by placing a flag.

Problem Statement:

Computer graphics are no longer a rarity. It is an integral part of all computer user interfaces and is indispensable for visualizing 2D, 3D, and higher-dimensional objects. Creating 3D objects, rotations and any other manipulations is a laborious process with graphics implementation using a text editor. OpenGL provides more features for developing 3D objects with few lines by built-in functions.

The geometric objects are the building blocks of any individual. Thereby developing, manipulating, applying any transformation, rotation, scaling on them is the major task of any image development. Thereby we have put our tiny effort to develop 2D objects and perform different operations on them by using OpenGL utilities.

Existing System

The existing system involves computer graphics. Computer graphics started with the display of data on hardcopy plotters and cathode ray tube screens soon after the introduction of the computer itself. It includes the creation, storage, and manipulation of models and images of objects.

These models include physical, mathematical, engineering, architectural, and so on Computer graphics today are largely interactive –the user controls the contents, structure, and appearance of objects and their displayed images by using input devices, such as keyboard, mouse, or touch-sensitive panel on the screen. Interactive computer graphics is the most important means of producing pictures since the invention of photography and television.

Proposed System

In the proposed system, OpenGL is a graphic software system designed as a streamlined, hardware-independent interface to be implemented on many different hardware platforms. To achieve these qualities, no commands for performing windowing tasks or obtaining user input are included in OpenGL; instead, you must work through whatever windowing system controls the particular hardware you’re using.

OpenGL doesn’t provide high-level commands for describing models of three-dimensional objects. Such commands might allow you to specify relatively complicated shapes such as automobiles, parts of the body, airplanes, or molecules. With OpenGL, you must build up your desired model from a small set of geometric primitives – points, lines, and polygons.

Objectives Of The Project

  • Developing a package using computer graphics with OpenGL.
  • To show that implementation of Depth is easier with OpenGL.
  • Implementing certain technical concepts like Translation, motion, and use of the Idle Function.
  • How to use Buffer algorithms to remove hidden surfaces.

User Requirements

  • Easy to understand and should be simple.
  • The built-in functions should be utilized to the maximum extent.
  • OpenGL library facilities should be used.

Hardware Requirements

  • Intel Pentium CPU 2.6 GHz or AMD Athlon 64 (K8) 2.6 GHz or higher
  • 1 GB RAM or more
  • Mouse
  • Keyboard 108 standard
  • Monitor resolution 800×600

Software Requirements:

  • Programming Language: C / C++ Using OpenGL
  • Operating System: Windows / Linux
  • Compiler: C / C++ Compiler (GCC)
  • IDE: Code Blocks
  • Functional Requirements: GLUT

Books referred:

Edward Angel: Interactive Computer Graphics A Top-Down Approach with OpenGL, 5th Edition, Pearson Education, 2008.

Computer graphics with OpenGL Book by Donald Hearn and M. Pauline Baker.

Screenshots of Mine Sweeper Computer Graphics mini Project in OpenGL – 18CSL67

Play Game
Game Over

Follow the below link to download the source code

Download the source code

You may be interested in other projects:

Airplane Computer Graphics and Visualization Mini Project in OpenGL – 18CSL67

Additive Color Model Computer Graphics (CGV) Project in OpenGL – 18CSL67

Aquarium Computer Graphics Project in OpenGL Source Code

Warli Painting Computer Graphics (CGV) Project in OpenGL Source Code

2D Rotation Computer Graphics Project (CGV) in OpenGL Source Code

Rotating Circle Computer Graphics (CGV) Project in OpenGL Source Code

Fog Test Computer Graphics Project (CGV) in OpenGL Source Code

Dora Catch Game Computer Graphics (CGV) Project in OpenGL Source Code

Twin Cars Game Computer Graphics (CGV) Project in OpenGL Source Code

Flying Ball Computer Graphics (CGV) Project in OpenGL Source Code

Demonstration of Helicopter Computer Graphics (CGV) Project in OpenGL Source Code

Toll Collecting Computer Graphics (CGV) Project in OpenGL Source Code

Analog clock Computer Graphics (CGV) Project in OpenGL Source Code

Geometric Operations Computer Graphics (CGV) Project in OpenGL Source Code

Aeroplane Computer Graphics (CGV) Project in OpenGL Source Code

Bouncing Ball Computer Graphics (CGV) Project in OpenGL Source Code

Rotating Flower Computer Graphics (CGV) Project in OpenGL Source Code

Glass Cracking Computer Graphics (CGV) Project in OpenGL Source Code

Running Trains Computer Graphics (CGV) Project in OpenGL Source Code

Bricks breaker Computer Graphics (CGV) Project in OpenGL Source Code

Fighter Jet Computer Graphics (CGV) Project in OpenGL Source Code

Car Parking Computer Graphics (CGV) Project in OpenGL Source Code 

Archery Game Computer Graphics (CGV) Project in OpenGL Source Code

3D House Computer Graphics (CGV) Project in OpenGL Source Code

2D Game Computer Graphics (CGV) Project in OpenGL

Leave a Comment

Your email address will not be published. Required fields are marked *

Welcome to VTUPulse.com


Computer Graphics and Image Processing Mini Projects -> Click Here

Download Final Year Project -> Click Here

This will close in 12 seconds