Search Projects

Saturday, May 12, 2012

Interactive font program for OpenGL

In previous post  there was simple demo how to display different Font style. Now in this Project, an interactive Program will be shown which have user interaction to play with.This program allow user to choose different sets of things related to font display, more can be added.  Different Fonts style declared, which can be selected by right click. 

Right click and there will be options for different Fonts type like of Times Roman and Helvetica, with size value.  Also bitmap fonts being added. To give color to fonts, selection options are given to select the color,  red, blue, green and white. Lastly a message option is there to select which message to display on the screen. There is two options added in this program - abc that denotes the small caps letters while,  ABC meant for Message to be in Capital letters. Further addition is possible by adding more menus and messages in the program.




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

Tuesday, May 1, 2012

Escapa, a brainy game with fun



Description : Escapa is a lot of fun, but as a brain training tool it is limited. Each game trains a different skill such as concentration, maths ability, or short-term memory. Playing these games a few minutes per day helps your brain grow stronger.
In this project a simple game is made, with black wall in the corners cover the area. In that area, some obstacle are placed which are blocks in blue colours. There is red colour block which moves and have to control by the player. The objective of the game is to move the red block around without getting hit by the blue blocks or touching the black walls. If you can go longer than 18 seconds, you are phenomenal.