一键导入
game-dart-colors
Dartsnut game dart slot color mapping based on dart_index modulo four.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Dartsnut game dart slot color mapping based on dart_index modulo four.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Dartsnut asset manifest, loader-helper, placeholder, and apply-mode workflow for art-bearing entities.
Root conf.json schema, defaults, size rules, preview handling, and reload requirements for Dartsnut projects.
Dartsnut workspace scaffold rules, just-in-time skill loading, file constraints, and emulator verification workflow.
Dartsnut display and framebuffer mapping rules for panels, physical screens, layout, clipping, and fonts.
Legacy Dartsnut runtime index that routes to the granular pydartsnut, conf, display, and asset skills.
Pixel-perfect compact UI guidance for console-style Dartsnut games and widgets.
| name | game-dart-colors |
| description | Dartsnut game dart slot color mapping based on dart_index modulo four. |
| license | MIT |
Load when game UI maps dart_index % 4 to colors or assigns players by dart slot.
Hits from get_dart_hits() are (dart_index, x, y) (dart_index usually 0–11).
dart_index % 4 | Name | RGB (approx.) |
|---|---|---|
| 0 | blue | (0, 60, 255) |
| 1 | red | (255, 0, 0) |
| 2 | green | (0, 255, 0) |
| 3 | yellow | (255, 216, 0) |
Matches common 12draw / dart_checker semantics.
Optional dart_colors.py (or module-local):
get_dart_color(dart_index) → (color_name, (r, g, b))COLOR_RGB dict keyed by short namesIf the game needs which of the twelve darts fired (not only hue), use full dart_index (or map 1–12 for display), not only % 4.