Skip to content

abdulahia/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

❗CSC226 Project

Term: Fall 2020

Author(s): Ahmed Abdulahi

Section: A


References:

  • Will Romano helped me with creating CRC card

  • Acknowledgements: Kite at Youtube and William Romano

  • link of Youtube video: https://www.youtube.com/watch?v=m4nEnsavl6w&t=449s

    Title:

    Hangman Game

    Purpose:

    The game of hangman: will invite the user to guess words from possible word bank and by guessing letter by letter the turtle will be drawing the hangman.

Kanban Board:

https://trello.com/b/GD2Xso29/226-final-project


❗User Instructions

In the game of hangman, you have six tries to guess the word that is selected. You can either guess the word entirely or by letters. If you guess a letter correctly I will appear on the dashed line which indicate where that letter belong in the word. If the letter is not in the word, part of the hangman will draw for example your first incorrect guessed letter will draw the head of the hangman and your second incorrect guessed will draw the body and so on. If you run out of tries the it will let you know you lost and exit out of the window.

.

❗Reflection

I have selected this game because I though it was different and others were doing similar games so I decided to do something different. This game is very easy to understand. I also felt it was within my capabilities to execute its functionality with the requirements assign. I felt I have achieved what I was aiming for the project.

My initial design seted me up a step ahead. My initial design was the same way I executed the game. My plan was to have the turtle draw the body part of the hangman on a class with each body part being different method. I called for the body part as the number of tries decrease by one after every incorrectly guessed. My pre design code looks very similar to my final one. I learn how to Implement user interaction via event handling. I also learned how to have all the interaction through the program and screen and not on solely on python console.

The hardest part that took the longest for me to figure out was having the dash lines filled out after correctly being guessed. I had to create another empty list and append it, but that took longer than it should've. If I had another week or so, my game would've definitely been better in terms not only perfecting my code but adding more features. I would also make more use of the classes rather than trying to not use them well.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages