Search Projects

Tuesday, May 14, 2013

Tower of Hanoi OpenGL Project

tower of hanoi opengl project

Objective of Project:- The main aim of this project is to develop the puzzle TOWER OF HANOI using graphics to develop a suitable graphics package. 

Rules:- The objective of the puzzle is to move the entire stack to another rod, obeying the following rules:
  • Only one disk may be moved at a time.
  • Each move consists of taking the upper disk from one of the rods and sliding it onto another rod, on top of the other disks that may already be present on that rod.
  • No disk may be placed on top of a smaller disk.
  • The entire implementation of the puzzle is viewed in different lighting modes.
Description:- Creating the interactive program like Tower of Hanoi was a very interesting experience. using the two different API’s was a very useful part of the program success .the Tower of Hanoi  is a interactive 3D program. OpenGL has given us the capability to easily create the CONE and TORUS and position them in their respective positions. The Tower of Hanoi application has demonstrated how a users input can be processed at a very fast speed and re-displayed on the screen.