ワンクリックで
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.