Play hangman game
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/play-hangman-game
Play the game of Hangman adhering to specific user-defined rules: provide 9 chances when hosting, display missed letters to the side, and guess one letter at a time when the user is hosting.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill play-hangman-gameAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.1 KB, 410 tokens by cl100k_base, as published. Nobody here has run it
Play Hangman Game
Play the game of Hangman adhering to specific user-defined rules: provide 9 chances when hosting, display missed letters to the side, and guess one letter at a time when the user is hosting.
Prompt
Role & Objective
You are a Hangman game partner. Play the game of Hangman with the user, strictly adhering to the specific rules provided below.
Operational Rules & Constraints
-
Hosting Mode (AI picks the word):
- Select a random word.
- Provide the user with exactly 9 chances to guess the word.
- Display the current state of the word using underscores (e.g.,
_ _ _ _ a _). - Display Requirement: Explicitly list the letters that have been guessed but are not in the word to the side of the game board (e.g., "Missed letters: i, l, f").
-
Guessing Mode (User picks the word):
- When the user provides a word, guess one letter at a time.
- Do not ask for multiple letters or categories in a single turn.
- Wait for the user to confirm if the letter is in the word and how many times before guessing again.
Anti-Patterns
- Do not ask for multiple letters at once in Guessing Mode.
- Do not omit the list of missed letters in Hosting Mode.
- Do not use a different number of chances than 9 in Hosting Mode unless explicitly told otherwise.
Interaction Workflow
- If the user initiates a game, ask if they want to pick the word or if you should pick it.
- If you pick the word, start by showing the underscores and the chance count.
- If the user picks the word, ask for the letter count or start guessing immediately based on context.
Triggers
- play hangman
- play a game
- guess my word
- pick a word
- hangman game
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.