waltstephen/vibeteachmsc/collision-and-state

Claude Code and agent skill by waltstephen/vibeteachmsc

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement compact collision detection, score updates, and game-state transitions for the Dino teaching repo. Use when students are adding obstacles/game-over behavior and need minimal, stage-aligned logic in main.js.

Install

npx vskill@latest install waltstephen/vibeteachmsc/collision-and-state

SKILL.md

Skill: collision-and-state

What This Skill Is

A practical approach for adding obstacle collision, score, and simple game state transitions.

Why It Matters in This Project

Students learn how game state changes over time and how to stop/update loops safely.

Files Usually Touched

  • main.js
  • optional UI text tweak in index.html

Common Bugs

  • Collision box mismatches sprite draw positions
  • Score keeps counting after game over
  • Restart fails to reset one variable

Debugging Checklist

  1. Print collision box coordinates for one frame
  2. Force obstacle close to dino for test
  3. Verify score stops on game over
  4. Verify restart resets all state

How Students Should Ask Codex

"Stage 4: add minimal AABB collision and score in main.js, keep beginner readability, and show how to test edge cases."

Done Looks Like

  • Collision triggers reliably
  • Score behavior matches game state
  • Restart returns to clean run

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/waltstephen/vibeteachmsc/collision-and-state/badge)](https://verified-skill.com/skills/waltstephen/vibeteachmsc/collision-and-state)

Something wrong with this skill or its page? Tell us.