[PR #1005] [CLOSED] [FEATURE]Hangman a classic word game #1549

Closed
opened 2026-01-29 15:22:11 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1005
Author: @anindyasen
Created: 10/7/2022
Status: Closed

Base: masterHead: master


📝 Commits (9)

📊 Changes

4 files changed (+818 additions, -0 deletions)

View changed files

📝 DIRECTORY.md (+3 -0)
games/hangman.c (+225 -0)
games/hangman.h (+71 -0)
games/hangman_word_pool.h (+519 -0)

📄 Description

Description of Change

  1. A word pool will be maintained in the file
  2. program will select a word from the file randomly.
  3. 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.

References

#967

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1005 **Author:** [@anindyasen](https://github.com/anindyasen) **Created:** 10/7/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`71f5874`](https://github.com/TheAlgorithms/C/commit/71f5874a7973385f15ea2eabee473358008eeb09) Hangman a classic word game - [`09be1a5`](https://github.com/TheAlgorithms/C/commit/09be1a5b709ce3f89b3c251fd2cd72a2fbf33212) updating DIRECTORY.md - [`b5065bb`](https://github.com/TheAlgorithms/C/commit/b5065bbfb2469aee0a0dab9d4acd3354410d2edb) Documentation Fix - [`9d4a46b`](https://github.com/TheAlgorithms/C/commit/9d4a46baa4bed27c7b98df3b722b9c5048fc3da9) :Merge branch 'master' of https://github.com/anindyasen/C - [`5acd0c3`](https://github.com/TheAlgorithms/C/commit/5acd0c3d8c5ff2412f067fb55e1681f5a54fc30f) Update games/hangman.c - [`6d173ad`](https://github.com/TheAlgorithms/C/commit/6d173adc1e16241f26562a00c457b165c143d032) updating DIRECTORY.md - [`784b2c5`](https://github.com/TheAlgorithms/C/commit/784b2c55aa20783b6c5f5ff4d4e60dee6dbb703e) Fix for codeql error - [`93102b7`](https://github.com/TheAlgorithms/C/commit/93102b7cbe97b86dce3ef3d66984d150ed01c887) Update games/hangman.c - [`b3b86d8`](https://github.com/TheAlgorithms/C/commit/b3b86d86e202cbe232db31a877fe13a03f55562a) Merge branch 'master' of https://github.com/anindyasen/C ### 📊 Changes **4 files changed** (+818 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+3 -0) ➕ `games/hangman.c` (+225 -0) ➕ `games/hangman.h` (+71 -0) ➕ `games/hangman_word_pool.h` (+519 -0) </details> ### 📄 Description #### Description of Change 1. A word pool will be maintained in the file 2. program will select a word from the file randomly. 3. 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. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References #967 <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:22:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1549