Friday, January 20, 2012

Implementation of HANGMAN using C


            Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word and the other tries to guess it by suggesting letters.
The word to guess is represented by a row of dashes, giving the number of letters. If the guessing player suggests a letter which occurs in the word, the other player writes it in all its correct positions. If the suggested letter does not occur in the word, the other player draws one element of the hangman diagram as a tally mark.The game is over when:
  • The guessing player completes the word, or guesses the whole word correctly
  • The other player completes the diagram
                                                                                                                                                                   I have developed simple yet useful program called "HANGMAN" using Borland C. The main objective of developing this software is to utilize the knowledge of C in developing a simple and useful program, useful to someone.
This game is made on Graphical User Interface mode allowing a colorful and attractive user friendly interface. In this game user is displayed following options:
1.      PLAY: To play a new game.
2.      INSTRUCTIONS: To display rules of game.
3.      CATEGORY: To allow user choose his choice of category from which the word would be provided to guess.
4.      QUIT: To exit the game.



The output of the game is like below:
          
1. The welcome screen of the game.



2. The Menu

3. Category Selection Screen


4.The Instruction Screen



5. Game Playing Screen

6. Winning Applause Screen.





7. Failure Screen













8. Game Closing Screen

No comments:

Post a Comment