Skip to main content

Project Documentation

Course Project Title:
HANGMAN GAME in Python
Description:
An interactive game of Hangman developed using python(an object programming language).The project consists of a number of functions used in the game by making use of inbuilt Python libraries.The game offers the user to choose number of attempts and also shows a graphical output.

Link for project report:here
Final Code FilePython Code


Topic 1: Hangman graphic function
Presentor's info: 
Name: Siddhesh Ramajgol
Div:TY-L
Roll no:57
GR.no : 1710081

Topic 2: Get no.of attempts and word length
Presentor's info: 
Name: Kartik Mehetre
Div:TY-L
Roll no:47
GR.no : 1710382

Topic 3: Get next letter and display words
Presentor's info: 
Name: Shreya Uttarwar
Div:TY-L
Roll no:69
GR.no : 1710360


Topic 4: Main Function
Presentor's info: 
Name: Shreepad Sapate
Div:TY-L
Roll no:60
GR.no : 1710026
Video Link: Main function


Output and future scope : see more






Comments

Post a Comment

Popular posts from this blog

Journey towards Creating Hangman.

I love when people take a sophisticated tool and use it to play video games. Take Unity for example. I first saw my friends created a game in Unity, which was an Virtual reality game. My friends Vivek and Payas then inspired me to more efficiently waste time in creating something of my own like their VR game. Rather than jumping directly to a VR game so we thought to start something from the basics. So, the other day I had an immense amount of college work to do and decided it was the perfect time to make a hangman game.  So, What is hangman? In its purest form, hangman is a word game played between two people. One person selects a secret word, and the other tries to determine the word by guessing it letter-by-letter. The player with the secret writes a series of dashes, one representing each letter in the solution. Initially, no information is known about the target word, other than its length. The solver calls out letters, one-by-one. If a called letter appears in the solution, a

Getting the Word Length

Today, let's look into another function which constitutes the working of the game.       So, the second function we are going to see is to get the minimum word length from the user. Here, user will enter his word preferred word length to increase his chances of winning and saving himself. Lets get to the code part! CODE:      def   get_min_word_length ():      """Get user-inputted minimum word length for the game."""      while   True :         min_word_length =  input (              'Choose minimum word length [2-16] ' )          try :             min_word_length =  int (min_word_length)              if   2  <= min_word_length <=  16 :                  return  min_word_length              else :                  print ( ' {0}  is not between 4 and 16' .format(min_word_length))          except   ValueError :              print ( ' {0}  is not an integer between 4 and 16' .format(