분기 맵 노드 진행 (TODO E3) — 경로 선택·적 차등·보스 클리어 #15
Reference in New Issue
Block a user
Delete Branch "feature/map-nodes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
요약
단일 경로 자동 진행을, 플레이어가 분기 맵(작성된 DAG)에서 다음 노드를 선택하는 방식으로 확장한다.
노드 타입(전투/엘리트/보스)대로 전투(적은 데이터로 차등), 보스 노드 클리어 시 "런 클리어". (E 분해의 E3)
변경 사항
data/map.json: 분기 DAG —start+nodes(type/enemy/row/col/next). A,B → C,D,E → BOSS.data/enemies.json:slime_elite(HP 70)·slime_boss(HP 120) 추가.SlayDeckController:Enemies(전체 적 테이블)·MapNodes·MapStart·CurrentNodeId·CurrentEnemyId속성.StartRun→맵 빌드·ShowMap,PickNode(도달성 검증)→StartCombat(적을self.Enemies[CurrentEnemyId]에서 로드). 승리→보상→ShowMap복귀, 보스 노드 승리→"런 클리어!".ShowMap/IsReachable(boolean)/RenderMap(도달 가능 노드만 활성·강조)/PickNode.method()returnType 파라미터, 다중 적/맵 Lua 직렬화 헬퍼.검증 (메이커 Play, MCP)
범위 밖 (후속)
🤖 Generated with Claude Code