Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Despite the fact that its origins are unknown, a variation of the game is mentioned in Alice Gomme's

1894 collection of children's games, Birds, Beasts, and Fishes. This variation does not feature the image
of a hanged man and instead relies on keeping track of how many tries each player made to fill in the
blanks. The game of hangman was invented in Europe in the 17th century when a prisoner awaiting
execution pleaded for the "Rite of Words and Life."

The Hangman's game is a traditional asymmetric two-player game in which one player—the setter—
keeps a secret word that the other player—the guesser—must determine. When both players have
decided on a maximum number of guesses, the game begins with the setter giving the guesser an
integer that represents the length of the word. Then, in each round, the guesser asks a single-letter
question, and the setter, if necessary, discloses every instance of that letter in the word. If there are no
instances of a single letter in the word, the one letter query is said to have failed. The game is over
either when the word is fully disclosed, in which case the guesser is declared the winner, or when the
guesser has submitted more unsuccessful guesses than the allowed number, in which case the setter is
declared the winner.

Description
Start Game Idle state where the game start.
Choose Category The game presented a list of categories, and
the player will need to select one. Following
the selection of a category, the player will
see a random word or sentence relating to
that category for guessing.
Guess Letter Player enters a letter in order to guess the
word/sentence given.
Draw Hangman Hangman will be drawn starting from the
head to its leg.
Win Word is correctly guess.
Lose Word is incorrectly guess.
End Game State where the game ends.
Though the origins of the game are unknown, a variant is mentioned in a book of children's games
assembled by Alice Gomme in 1894 called Birds, Beasts, and Fishes.]This version lacks the image
of a hanged man, instead relying on keeping score as to the number of attempts it took each player
to fill in the blanks. Hangman was originated in Europe during the 17th century, and was
“played” when a prisoner facing death demanded the “Rite of Words and Life.”

In its purest form, hangman is a word game played between two people. One person selects a secret
word, and the other tries to determine the word by guessing it letter-by-letter.

The player with the secret writes a series of dashes, one representing each letter in the solution. Initially,
no information is known about the target word, other than its length.

The solver calls out letters, one-by-one. If a called letter appears in the solution, all occurrences in the
solution are filled in.

If the letter does not appear in the solution, the secret writer adds one element to a drawing of a
gallows (complete with a stick man).

A complete rendering takes eleven moves.

If the hangman drawing gets completed (eleven incorrect letters), then the secret writer has won. If all
letters of the word are revealed before this happens, then the solver wins.

The Hangman’s game is a classical asymmetric two player game, where one player, denoted as the
setter keeps a secret word, that the other player, denoted as the guesser, needs to guess. The game
starts with both players agreeing on a maximum number of guesses, and the setter communicating to
the guesser an integer, the length of the word. Then, in every turn the guesser makes a query with a
single letter, and the setter reveals every appearance of single letter in word, if any. A query single letter
is said to have failed if there are no occurrences of single letter in word. The game ends either when
word is fully revealed, in which case we say the guesser won, or when the guesser has made more than
maximum number of guesses failed queries, in which case we say the setter won the game.

The Hangman’s game is a classic two-player asymmetric game in which one player, called the setter,
holds the secret word and the other player, called the guesser, must guess it. The game begins with both
players agreeing on a maximum number of guesses, and the setter tells the guesser an integer that is
the length of the word. Then, in each round, the guesser creates her one-letter query, and the setter
reveals each occurrence of her one-letter within a word. A query for an individual letter is considered
failed if the individual letter does not appear in a word. The game ends when the word is fully revealed.
In this case, we can say that the guesser won. Alternatively, if the guesser exceeds the maximum
number of unsuccessful guesses, say the setter has won the game, and the winner is.

The Hangman's game is a traditional asymmetric two-player game in which one player—the setter—
keeps a secret word that the other player—the guesser—must determine. When both players have
decided on a maximum number of guesses, the game begins with the setter giving the guesser an
integer that represents the length of the word. Then, in each round, the guesser asks a single-letter
question, and the setter, if necessary, discloses every instance of that letter in the word. If there are no
instances of a single letter in the word, the one letter query is said to have failed. The game is over
either when the word is fully disclosed, in which case the guesser is declared the winner, or when the
guesser has submitted more unsuccessful guesses than the allowed number, in which case the setter is
declared the winner.

We aim to develop a mobile application in Flutter utilizing the Dart language for this Hangman's game. A
category is shown for each puzzle. You can solve the problem by guessing the letters. You will receive a
strike if the missing letter is in the puzzle. The game is over if you receive 4 strikes. Ten riddles are
randomly selected from from thousands of phrases in dozens of categories in each

Description
game.

Start Game
Idle state where the game start.
Choose
Category
The player will need to choose a category from
a set of
categories that the game provided. Once a
category is
chosen, a random word/sentence related with
the
category will be displayed for the player to
guess.
Guess Letter
Player enters a letter in order to guess the
word/sentence
given.
Draw
Hanagaroo
Hangaroo will be drawn starting from the head
to its leg.
Win
Word is correctly guess.
Lose
Word is incorrectly guess.
End Game
State where the game ends
Description
Start Game Idle state where the game start.
Choose Category The game presented a list of categories, and
the player will need to select one. Following
the selection of a category, the player will
see a random word or sentence relating to
that category for guessing.
Guess Letter Player enters a letter in order to guess the
word/sentence given.
Draw Hangman Hangman will be drawn starting from the
head to its leg.
Win Word is correctly guess.
Lose Word is incorrectly guess.
End Game State where the game ends.

Florence, M. (2019, December 9). “From History to History Class: the Origin of Classroom Games”.
https://chschipper.com/2019/12/from-history-to-history-class-the-origin-of-classroom-games/
#:~:text=No%20name%20in%20the%20world,Rite%20of%20Words%20and%20Life.%E2%80%9D

“Hangman (game).” (2022, November 5). https://en.wikipedia.org/wiki/Hangman_(game)

Barbay, J., & Subercaseaux, B. (2020, May 1). “The Computational Complexity of Evil Hangman”.
https://arxiv.org/pdf/2003.10000.pdf

You might also like