Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghores/hangman-xml
Word game "Hangman" android application
https://github.com/ghores/hangman-xml
android hangman-game java xml
Last synced: 19 days ago
JSON representation
Word game "Hangman" android application
- Host: GitHub
- URL: https://github.com/ghores/hangman-xml
- Owner: ghores
- Created: 2023-10-14T07:15:59.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-14T11:28:48.000Z (about 1 year ago)
- Last Synced: 2024-04-18T01:53:02.591Z (8 months ago)
- Topics: android, hangman-game, java, xml
- Language: Java
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HangMan
Hangman is a popular word game in which one player (the "chooser") chooses a secret word and another player (the "guesser") attempts to guess the word one letter at a time. If a guessed letter appears in the word, all instances of it are revealed. If not, the guesser loses a chance. If the guesser figures out the secret word before he or she runs out of chances, he or she wins. If not, the player who chose the word wins. Traditionally, chances are tracked using a stick figure drawing of a person being hanged from a gallows. The figure is drawn one body part at a time, and the guesser loses when the entire figure has been drawn. This game is also the basis for the TV game show Wheel of Fortune.# Gameplay
In our implementation of Hangman, the computer will take on the role of the "chooser" and the human player will be the "guesser." The computer will secretly choose a word from a list and show the player how many letters are in the word by displaying a sequence of blanks (asterisk). Then, the computer will begin asking for guesses. If the player guesses a letter that is in the secret word, all blanks representing an instance of that letter should be replaced by the letter. If the guessed letter is not in the word at all, the player should lose a chance and a new part of the Hangman figure should appear. If the player guesses a letter he or she has already guessed, he or she should not lose a chance, even if that letter is not in the word. If the player guesses all letters in the word, he or she wins. If the Hangman figure is completed, the player loses. In either case, the secret word should be revealed after the game is over.