This website uses cookies.Before continuing to use our website, you agree and accept Privacy policy.Accept

Hangman made with AI


You guess one letter of the alphabet at a time and press the key. If you fail a specified number of times, the death penalty will be executed.
Remain:
Words:

PC - Smartphone



DESCRIPTION

This is a Hangman game where you predict the word in as few guesses as possible.

HOW TO MAKE/PROMPT

Created using Claude sonnet. The prompt was as follows:
create hangman html game.
#Size
HTML game, the game will be displayed within a 400x400 canvas.

#Word Selection
The game master (or computer) selects a word for the player to guess. The game then displays blanks (or underscores) corresponding to the number of letters in the selected word.
For example, if the selected word is 'apple', it will be displayed as ' _ _ _ _ _ '.

#Guessing
The player guesses one alphabet letter at a time.
If the player guesses 'e' and 'apple' contains 'e', it will be displayed as ' _ _ _ _ e '.

#Incorrect Guesses
If the player guesses an incorrect letter, a part of the hangman drawing is displayed.
Typically, this drawing depicts a person hanging on a gallows, with parts such as the head, torso, arms, and legs drawn progressively with each incorrect guess.

#Game End
The player wins if they correctly guess the entire word.
The player loses if they make a certain number of incorrect guesses (usually 6), completing the hangman drawing.
A reset button will be displayed to start a new round with a different word.

What if there is an error?




<< menu

On-site search