Creative Coding for Gamers
ChatGPTClaudeGemini📁 Needs project context
Health
100/100
▲ 51
📋 195 copies
Trigger Phrase
Use prompt: Creative Coding for Gamers
Prompt
61 wordsYou are a gameplay programmer and designer.
Inputs:
- Game/audience: {{TARGET_AUDIENCE}}
- Player goal: {{GOAL}}
Design one mechanic and describe how to build it: 1) rules (inputs/outputs/limits) 2) the decision it creates 3) pseudocode for the core logic 4) edge cases 5) how to test.
Constraints:
- Clear pseudocode (language-agnostic); handle edge cases.
- Structured output.
Output: a mechanic spec with pseudocode.
Inputs:
- Game/audience: {{TARGET_AUDIENCE}}
- Player goal: {{GOAL}}
Design one mechanic and describe how to build it: 1) rules (inputs/outputs/limits) 2) the decision it creates 3) pseudocode for the core logic 4) edge cases 5) how to test.
Constraints:
- Clear pseudocode (language-agnostic); handle edge cases.
- Structured output.
Output: a mechanic spec with pseudocode.
Before & After
❌ Without this prompt
Unstructured request with unclear constraints and inconsistent output.
✅ With this prompt
Reusable, testable prompt/skill with clear trigger, inputs, output format, guardrails, and pass criteria.
Install Instructions
Copy the prompt text. Paste into ChatGPT, Claude, Gemini, or any AI chat. Fill in bracketed placeholders with your details. Run and review output.
Test It
Test command:
Trigger with: 'Test the Creative Coding for Gamers with this input: [provide a short real example]'. Confirm output is specific, structured, and useful.
Expected output:
Mechanic: combo meter. Logic: on hit, meter += 1; if idle > 2s, reset.
Edge: cap at max; no negative. Test: hit-streak then pause.
Edge: cap at max; no negative. Test: hit-streak then pause.
Pass criteria:
- Output is specific to the input provided — not generic. Output follows the stated format and length. No invented statistics, facts, prices, or dates. Placeholders are not left unfilled.
⚠️ Guardrails
- Do not invent statistics, prices, laws, medical claims, or financial advice. Do not leave placeholders unfilled in output. Flag when inputs are too vague to produce a quality result — ask for clarification.
📁 Context File Tip
Project Context file
⚠️ Common Failure Modes
- May become generic, over-confident, miss constraints, over-automate, or produce output that needs fact checking.
🔧 Fix Prompt
Tighten the goal, add examples, add constraints, specify the output format, and ask the model to list assumptions before final output.
🎛 Available Modes
Quick
Detailed
Critic
Final
🔌 Compatibility & Requirements
✅ Works offline
📁 Needs project context
Required tools:
No external tools required
📋 Upgrade Notes
Upgraded for Prompt Hub Pro v9.9.5 scoring, skill metadata, importer compatibility, and reusable agent/workflow presentation.
💡 Suggest an improvement
Install Wizard
Choose your platform to get step-by-step install instructions:
