[FEATURE]Hangman - The classic word guessing game
Detailed description
Implementation of the popular hangman game in C as a part of games in the repository. Hangman is word guessing game where the program will randomly pick a word from a word pool and represent it's letter in dashes"_ _ _". Now the user has to guess the right word within a particular number of chances.
Context
This Hangman game is a good example of user-define data structure. A hash table where alphabets are key and the index at which that alphabet is present in the word are its value.
Possible implementation
- We will maintain a word pool in a file
- program will select a word from the file randomly.
- This word will be stored in a data structure to determine the guess of the users and also if the user is guessing the same letters again.
Additional information
No response
Hi @palaniappan-r I am planning to work on this issue. I raise this bug to get maintainers/reviewers opinion on if this idea can be merged in C/games folder. Thank you,
Great explanation. Feel free to work on it. 🚀 Before submitting a PR, please ensure the following:
- The algorithm/implementation isn't a duplicate in this repository.
- Make your code per the repository standards.
- Ensure that all the automated-tests pass.
please assign this to me, i will do it in a day...please, i am good at making this type of games
This sounds intimidating !! This will be a great opportunity for me to contribute to this. There are some changes that can be made in the conventional game.
- What if we give them the first letter already.
- This will make the game more engaging.
- If this works, we can also then give them one of the letters in between the words.
Give me a chance to contribute to this !!
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!
I guess it's safe to finally close this now, yeah?