Adil Khan 11 months ago
AdiKhanOfficial #FYP Ideas

Teaching Vocabulary by using Hangman Game

About Hangman Going back to our old school days, some of the pen-paper games were always a top for our leisure time. That is an old way, now to play Hangman. The new advancement in technologies allows us to play hangman using our own computer also without any

Project Title

Teaching Vocabulary by using Hangman Game

Project Area of Specialization

Software Engineering

Project Summary

About Hangman

Going back to our old school days, some of the pen-paper games were always a top for our leisure time. That is an old way, now to play Hangman. The new advancement in technologies allows us to play hangman using our own computer also without any other player. Language games is a general term used to cover a variety of language activities, and the function of language games is to practice specific language items such as grammar, vocabulary, and spelling, and it is important to develop language skill. Students can get a lot of knowledge and new experience by playing language games, because the students can learn language with different and fun ways. Language games will give them much benefit which is very important for their language skills. Game is usually used in language teaching. And there are some reasons why game can be used in language teaching, such as: First, to learn language is hard work. To understand, to repeat accurately, to adapt, and to use newly understood language in conversation and in written composition need an effort. And by using game, it can help many learners to sustain in their interest and work. A major problem in education is lack of motivation. Students often exert the minimum rather than maximum effort. Students with low motivation definitely learn the material with a little effort. While the students with high motivation will learn something with their big effort. And their effort to learn will give an influence for their achievement. One of the main tasks of the teacher is to make their students interested in the subject, even though the students do not have an interest in it something. It will be different with the students who have low motivation.

Project Objectives

Hangman Game

Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other tries to guess it by suggesting letters within a certain number of guesses.

•It’s a simple hangman game.

•The player has to guess the letters in the word.

•If you get a letter wrong a body part is added to the hangman game.

•the hangman body display as an image.

•If the guessing player (In this case your model) suggests a letter which occurs in the word, letter is revealed in all its correct positions.

•If the suggested letter does not occur in the word, then it is marked as a wrong attempt. The guesser can make at most 5 wrong attempts for predicting a given word.

Project Implementation Method

How to Play

•If the letter is correctly guessed, index searches for that letter in the word.

•Display adds that letter in the given space according to its index or where it belongs in the given word.

•If we have already guessed the correct letter before and we guess it again, It tells the user to try again and does not lessen any chances.

•If the user guessed the wrong letter, the hangman starts to appear which also tells us how many guesses are left. Count was initialized to zero and so with every wrong guess its value increases with one.

•Limit is set to 5 and so (limit- count) is the guesses left for the user with every wrong input. If it reaches the limit, the game ends, showing the right guesses (if any) and the word that was supposed to be guessed.

Code Explanation:     elif guess in word:         already_guessed.extend([guess])         index = word.find(guess)         word = word[:index] + "_" + word[index + 1:]         display = display[:index] + guess + display[index + 1:]         print(display + " ")      elif guess in already_guessed:         print("Try another letter. ")      else:         count += 1          if count == 1:             time.sleep(1)             print("   _____  "                   "  |       "                   "  |       "                   "  |       "                   "  |       "                   "  |       "                   "  |       "                   "__|__ ")             print("Wrong guess. " + str(limit - count) + " guesses remaining ")          elif count == 2:             time.sleep(1)             print("   _____  "                   "  |     |  "                   "  |     | "                   "  |       "                   "  |       "                   "  |       "                   "  |       "                   "__|__ ")             print("Wrong guess. " + str(limit - count) + " guesses remaining ")          elif count == 3:            time.sleep(1)            print("   _____  "                  "  |     |  "                  "  |     | "                  "  |     |  "                  "  |       "                  "  |       "                  "  |       "                  "__|__ ")            print("Wrong guess. " + str(limit - count) + " guesses remaining ")          elif count == 4:             time.sleep(1)             print("   _____  "                   "  |     |  "                   "  |     | "                   "  |     |  "                   "  |     O  "                   "  |       "                   "  |       "                   "__|__ ")             print("Wrong guess. " + str(limit - count) + " last guess remaining ")          elif count == 5:             time.sleep(1)             print("   _____  "                   "  |     |  "                   "  |     | "                   "  |     |  "                   "  |     O  "                   "  |    /|  "                   "  |    /   "                   "__|__ ")             print("Wrong guess. You are hanged!!! ")             print("The word was:",already_guessed,word)             play_loop()      if word == '_' * length:         print("Congrats! You have guessed the word correctly!")         play_loop()      elif count != limit:         hangman()   main()  hangman() 

Benefits of the Project

The main Puropose of this game to motivate students through this game to learn basic vocabulary of English. A major problem in education is lack of motivation. Students often exert the minimum rather than maximum effort. Students with low motivation definitely learn the material with a little effort. While the students with high motivation will learn something with their big effort. And their effort to learn will give an influence for their achievement. One of the main tasks of the teacher is to make their students interested in the subject, even though the students do not have an interest in it something. It will be different with the students who have low motivation. They will have a feeling that they are forced to learn the subjects. Motivation is very important in learning process because it can make the students active to look for information in the learning process, make the students creative, independent, and it is appropriate with their talent and ability. And also, there are three attitude objects that need to be assessed in learning process such as attitude towards the learning materials, attitude towards the teacher and attitude towards learning process. And there are some indicators of motivation, such as grades and test score, perceived competence or confidence, attitudes toward school or class.

Technical Details of Final Deliverable

Project Prerequisites

This project requires good knowledge of Python which includes defining functions and managing for/while loops. The functions that we use here contain arguments that are defined in a global scope which can be further used in other functions to improve game quality. It can also be used to provide different steps when required to execute upon conditions by the for and while loops.

Hardware:

a core i5 intel processor or later.

b. RAM 4 GB or more.

Software:

a. Windows 7(32-bit) or above.

b. Python 3.9 latest, Visual Studio,Tkinter

Final Deliverable of the Project

Software System

Core Industry

Education

Other Industries

Core Technology

Artificial Intelligence(AI)

Other Technologies

Sustainable Development Goals

Quality Education

Required Resources

Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Laptop Equipment16000060000
Total in (Rs) 60000
If you need this project, please contact me on contact@adikhanofficial.com
0
112
Clean Pakistan

Waste management is one of the primary problems that the world faces irrespective of the c...

1675638330.png
Adil Khan
11 months ago
Safety System To Avoid Accident While Driver Is In Sleep

Safety is very critical in the automotive industry and it would be a vigorous proposition...

1675638330.png
Adil Khan
11 months ago
Selection of material for assistive devices based on Fused deposition...

This project is based on selection of material for assistive manufacturing using fused dep...

1675638330.png
Adil Khan
11 months ago
Online Semester Academic System

Computer technology is used to provide facilities to user to perform their job quickly and...

1675638330.png
Adil Khan
11 months ago
Auto Paper Generate System

Problems: Traditional method of generating question paper has been manual and Setting que...

1675638330.png
Adil Khan
11 months ago