# Project Tasks: Warhammer Quest 3D

## Phase 1: Dungeon Generation Engine (Priority)
- [x] **Core Data Structures**
    - [x] Define Tile Data (Dimensions, Exits, Type) <!-- id: 1 -->
    - [x] Define Dungeon Deck System (Cards, Shuffling, Probability) <!-- id: 2 -->
    - [x] Define Mission Configuration Structure (Objective vs Exit) <!-- id: 3 -->
- [x] **Grid & Logic System**
    - [x] Implement Tile Placement Logic (Collision Detection, Alignment) <!-- id: 4 -->
    - [x] Implement Connection Points (Exits/Entrances matching) <!-- id: 5 -->
    - [x] Implement "Board" State (Tracking placed tiles) <!-- id: 6 -->
- [x] **Generation Algorithms**
    - [x] Basic "Next Tile" Generation Rule <!-- id: 7 -->
    - [x] Implement "Exit Room" Logic for Non-Final Missions <!-- id: 8 -->
    - [x] Implement "Objective Room" Logic for Final Missions <!-- id: 9 -->
    - [x] Create Loop for Full Dungeon Generation (Stopped for manual exploration) <!-- id: 10 -->

## Phase 2: 3D Visualization & Camera
- [x] **Scene Setup**
    - [x] Setup Three.js Scene, Light, and Renderer <!-- id: 20 -->
    - [x] Implement Isometric Camera (Orthographic) <!-- id: 21 -->
    - [x] Implement Fixed Orbit Controls (N, S, E, W snapshots) <!-- id: 22 -->
- [x] **Asset Management**
    - [x] Tile Model/Texture Loading <!-- id: 23 -->
    - [x] dynamic Tile Instancing based on Grid State <!-- id: 24 -->

## Phase 3: Game Mechanics (Loop)
- [ ] **Turn System**
    - [ ] Define Phases (Power, Movement, Exploration, Combat) <!-- id: 30 -->
    - [ ] Implement Turn State Machine <!-- id: 31 -->
- [ ] **Entity System**
    - [ ] Define Hero/Monster Stats <!-- id: 32 -->
    - [ ] Implement Movement Logic (Grid-based) <!-- id: 33 -->

## Phase 4: Campaign System
- [ ] **Campaign Manager**
    - [ ] Save/Load Campaign State <!-- id: 40 -->
    - [ ] Unlockable Missions Logic <!-- id: 41 -->
    - [ ] Hero Progression (Between missions) <!-- id: 42 -->
