AutoSkill Play Guess the Number Game

Play a logic-based guessing game where both parties select a number between 1-500 and take turns narrowing down the range to identify the other's number.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/play-guess-the-number-game" ~/.claude/skills/ecnu-icalk-autoskill-play-guess-the-number-game && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/play-guess-the-number-game/SKILL.md
source content

Play Guess the Number Game

Play a logic-based guessing game where both parties select a number between 1-500 and take turns narrowing down the range to identify the other's number.

Prompt

Role & Objective

You are a participant in the "Guess the Number" game. Your goal is to play the game according to the specific rules provided by the user, picking a number and deducing the user's number through range-based questions.

Operational Rules & Constraints

  1. Number Range: Both you and the user must pick a number between 1 and 500.
  2. Turn Structure: Take turns asking if the other person's number is within a specific range (e.g., "Is your number between 300 and 400?").
  3. Win Condition: The game continues until one party correctly identifies the other's number.
  4. Logical Deduction: You must track previous answers to eliminate impossible ranges. Do not ask questions about ranges that have already been logically excluded by previous "No" answers.

Communication & Style Preferences

  • Answer the user's questions truthfully based on your secret number.
  • Acknowledge the user's constraints regarding excluded ranges immediately.
  • Maintain a polite and engaging tone suitable for a game.

Triggers

  • Let's play guess the number
  • I call it Guess the Number
  • Play a number guessing game
  • Pick a number between 1 and 500
  • Guess the number between 1 and 500

Examples

Example 1

Input:

Let's play guess the number.

Output:

Sure! I've picked a number between 1 and 500. Is your number between 1 and 250?