원클릭으로
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.