본문으로 건너뛰기
Skillpedia
일반 코딩6.6k · #13811

roguelike

하는 일

각 판마다 무작위 던전이 있고 죽으면 판이 끝나는 로그라이크를 만드는 과정을 안내합니다. 턴제 던전 크롤러나 로그라이트 게임을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓무작위 레벨이 있는 턴제 격자 던전 크롤러를 만들고 있을 때.
  • ✓죽으면 판이 끝나고 세계가 초기화되기를 원할 때.
  • ✓던전 게임에 시야, 안개, 전리품 테이블이 필요할 때.

스킬 링크

https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/genres/roguelike/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/genres/roguelike/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“턴제 로그라이크를 만들고 싶어요. 판마다 새로운 무작위 던전이 생성되고, 주변 타일만 볼 수 있으며, 죽으면 판이 끝나야 합니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 격자 위의 턴 엔진을 만들고, 시드로 던전을 생성하며, 플레이어가 도달할 수 있는 것만 보이도록 시야를 추가합니다. 영구 사망과 전리품 테이블을 설정하고, 모든 행동을 하나의 모드에서 처리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Roguelike

A playbook for roguelikes — the turn engine, procedural dungeons, field-of-view, permadeath, and run economy. This is a compositional skill: it orchestrates procedural generation, tilemaps, save handling, and AI into a run-based game. It does not re-teach noise/RNG or tilemap APIs; it defines the loop and the systems that make a run compelling.

When to use

  • Use when building a turn-based, grid-based dungeon crawler where each death ends the run and the world is regenerated — a roguelike or "roguelite" (with meta-progression).
  • Use when designing procedural dungeons, FOV/fog-of-war, permadeath stakes, or loot tables.

When not to use: real-time action with roguelike dressing → build the action genre (platformer/fps-shooter) and layer procedural-gen. Deep stats/quests/dialogue without permadeath → rpg. Open-world needs/crafting → survival-crafting.

What makes it a roguelike (design anchor)

The community reference is the Berlin Interpretation (RogueBasin, IRDC 2008): a set of "roguelikeness" factors, not a checklist. The high-value ones are the design targets: random environment generation, permadeath, turn-based, grid-based, non-modal (all actions in one mode), complexity (many item/monster interactions), resource management, hack-and-slash, and exploration & discovery. Lean into these to feel roguelike; pick which to keep deliberately. "Roguelite" usually relaxes permadeath with meta-progression.

Core loop

Take a turn (move / fight / use) → the world resolves its turn → see new state → descend / loot / survive → die and restart with a fresh dungeon. Replayability comes from the world changing each run, not the player memorizing a fixed layout.

Must-have systems

  1. Turn scheduler — energy/initiative system so fast actors act more often (Pattern 2).
  2. Grid map + movement — tile coordinates; bump-to-attack; blocked/walkable queries.
  3. Procedural dungeon generator — rooms + corridors, or BSP/cellular; guarantee connectivity.
  4. Field of view + explored memory — what's visible now vs. seen-before (Pattern 3 / refs).
  5. Combat + entities — HP, attack/defense, status; monsters obey the same rules as the player.
  6. Loot + drop tables — weighted, depth-scaled item/monster spawning (refs).
  7. Permadeath + (optional) meta-progression — wipe the run; persist only unlocks/score.
  8. Message log + clear UI — the player reasons from text/state; surface numbers and events.

Design knobs

Knob Effect Notes
Dungeon size / room count run length, density Scale with depth.
Connectivity guarantee no unreachable rooms Always verify reachability after generation.
Monster density / depth curve difficulty ramp Spawn by depth-weighted table.
Loot rarity weights power variance Rarer = bigger swing; identify adds discovery.
FOV radius / lighting tension, information Smaller radius = scarier, slower.
Resource scarcity (food/HP/ammo) pressure to descend Core tension lever in classic RLs.
Permadeath vs meta-progression run stakes vs. retention Roguelite softens the wall.
Identification / unknowns exploration value Unidentified items reward experimentation.
Seedable RNG daily runs, debugging Always allow a fixed seed (see procedural-gen).

Patterns

1. Deterministic, seedable run RNG

# Pseudocode. One seeded RNG per run makes dungeons reproducible (daily runs, bug repro).
run_seed = chosen_seed or random_seed()
rng = Rng(run_seed)                 # use your engine's seedable RNG, not global random
dungeon = generate_dungeon(rng, depth)   # same seed + depth => same dungeon
# Persist run_seed in the save so a crash can resume the same world (see save-systems).

2. Energy-based turn scheduler (speeds differ)

# Pseudocode. Actors gain energy each tick and act when they have enough.
# Faster actors gain more per tick, so they act more often — no fixed "player then enemies".
TURN_COST = 100
def next_actor(actors):
    while True:
        for a in actors:                 # 1) serve anyone already ready, in a stable order
            if a.energy >= TURN_COST:
                a.energy -= TURN_COST    #    (or the cost of the action they choose)
                return a                 #    this actor takes exactly one action now
        for a in actors:                 # 2) nobody is rea
자주 묻는 질문

베를린 해석이란 무엇인가요?

로그라이크를 정의하는 커뮤니티의 특징 모음으로, 스킬은 이를 설계 목표로 사용합니다.

메타 진행도 다루나요?

네. 영구 사망 위에 얹는 선택 사항으로 로그라이트의 메타 진행을 다룹니다.

던전을 직접 생성하나요?

던전 생성은 이 스킬이 사용하는 절차적 생성 스킬이 담당합니다.

상세 정보

작성자의 원본 설명

Build a roguelike: turn-based grid movement, procedural dungeons, permadeath, field-of-view, and loot tables. Use for a roguelike/roguelite or turn-based grid dungeon crawler with procedural levels.

repo: gamedev-skills/awesome-gamedev-agent-skills

인기도

GitHub 스타
6.6k
순위
#13811
라이선스
Apache-2.0
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬