summaryrefslogtreecommitdiff
path: root/maps
diff options
context:
space:
mode:
authoryctct <yctct@yctct.com>2026-11-25 17:56:21 +0100
committeryctct <yctct@yctct.com>2026-11-25 17:56:21 +0100
commit489b223db74f468032c1eeb6ca18ee6a4da3bc33 (patch)
treea360664813443859ebfc0dcce79dec7fddf93c9f /maps
Add files, first commit
Diffstat (limited to 'maps')
-rw-r--r--maps/README.md77
-rw-r--r--maps/challenger/01_the_impossible_dream.txt189
-rw-r--r--maps/easy/01_linear_path.txt11
-rw-r--r--maps/easy/02_simple_fork.txt14
-rw-r--r--maps/easy/03_basic_capacity.txt11
-rw-r--r--maps/hard/01_maze_nightmare.txt52
-rw-r--r--maps/hard/02_capacity_hell.txt51
-rw-r--r--maps/hard/03_ultimate_challenge.txt98
-rw-r--r--maps/medium/01_dead_end_trap.txt15
-rw-r--r--maps/medium/02_circular_loop.txt18
-rw-r--r--maps/medium/03_priority_puzzle.txt18
11 files changed, 554 insertions, 0 deletions
diff --git a/maps/README.md b/maps/README.md
new file mode 100644
index 0000000..11342f5
--- /dev/null
+++ b/maps/README.md
@@ -0,0 +1,77 @@
+# Fly-In: Drone Simulation Challenge Maps
+
+This collection contains carefully crafted maps designed to test different aspects of drone pathfinding algorithms, from basic navigation to complex optimization challenges.
+
+## Map Categories
+
+### 🟢 Easy Maps
+**Target**: Beginners, basic algorithm testing
+- `01_linear_path.txt` - Simple linear progression (2 drones)
+- `02_simple_fork.txt` - Basic path splitting (4 drones)
+- `03_basic_capacity.txt` - Introduction to capacity constraints (4 drones)
+
+### 🟡 Medium Maps
+**Target**: Intermediate challenges, algorithm optimization
+- `01_dead_end_trap.txt` - Dead ends that can trap naive algorithms (5 drones)
+- `02_circular_loop.txt` - Circular paths with restricted zones (6 drones)
+- `03_priority_puzzle.txt` - Optimal path selection with priority zones (5 drones)
+
+### 🔴 Hard Maps
+**Target**: Advanced algorithms, stress testing
+- `01_maze_nightmare.txt` - Complex maze with multiple traps and loops (8 drones)
+- `02_capacity_hell.txt` - Extreme capacity constraints requiring careful timing (12 drones)
+- `03_ultimate_challenge.txt` - **THE ULTIMATE TEST** - All challenges combined (15 drones)
+
+### ⚫ Challenger Maps
+**Target**: Research and algorithmic limits exploration
+- `01_the_impossible_dream.txt` - **THE IMPOSSIBLE DREAM** - Quasi-unsolvable challenge (25 drones)
+
+> ⚠️ **WARNING**: Challenger maps are designed to push algorithmic limits and may not be solvable by most implementations. They are intended for research, stress testing, and algorithmic exploration rather than validation. The goal is to challenge the boundaries of what's possible, not to pass evaluation criteria.
+
+> 🏆 **CHALLENGE RECORD**: The reference implementation solves "The Impossible Dream" in **45 turns**. Can you beat this record? This serves as a benchmark for algorithmic optimization and provides a concrete goal for advanced implementations.
+
+## Challenge Types Covered
+
+### 🎯 **Dead End Traps**
+Maps contain paths that lead nowhere, testing if algorithms can backtrack or avoid getting stuck.
+
+### 🔄 **Circular Loops**
+Cycles in the graph that can cause infinite loops in poorly designed algorithms.
+
+### ⚡ **Capacity Constraints**
+- Zone capacity limits (max_drones)
+- Connection capacity limits (max_link_capacity)
+- Timing-based bottlenecks
+
+### 🚀 **Zone Type Optimization**
+- `normal`: Standard 1-turn movement
+- `restricted`: 2-turn movement (slow but sometimes necessary)
+- `priority`: 1-turn movement but should be preferred
+- `blocked`: Completely inaccessible
+
+### 🧩 **Complex Topology**
+- Multiple valid paths with different costs
+- Convergence points requiring coordination
+- Multi-layer challenges
+
+## Testing Strategy
+
+1. **Start with Easy**: Ensure basic functionality works
+2. **Progress to Medium**: Test algorithm robustness
+3. **Challenge with Hard**: Stress test optimization and edge cases
+4. **Ultimate Test**: `03_ultimate_challenge.txt` combines all difficulties
+
+## Expected Behavior
+
+All maps are designed to be solvable with a well-implemented algorithm. However:
+
+- **Easy maps**: Should solve quickly with any reasonable approach
+- **Medium maps**: May require backtracking, path optimization, or capacity management
+- **Hard maps**: Demand sophisticated algorithms with proper conflict resolution and optimization
+
+## Performance Benchmarks
+
+- **Easy**: < 10 simulation turns typically
+- **Medium**: 10-30 simulation turns depending on optimization
+- **Hard**: 30+ simulation turns, focus on finding valid solutions
+- **Challenger**: **Record to beat: 45 turns** for "The Impossible Dream" - designed for algorithmic research
diff --git a/maps/challenger/01_the_impossible_dream.txt b/maps/challenger/01_the_impossible_dream.txt
new file mode 100644
index 0000000..b15afe0
--- /dev/null
+++ b/maps/challenger/01_the_impossible_dream.txt
@@ -0,0 +1,189 @@
+# CHALLENGER LEVEL: THE IMPOSSIBLE DREAM
+# WARNING: This map is designed to be extremely challenging and may not be solvable
+# by most algorithms. It's intended as a stress test and research challenge.
+# The goal is NOT to validate this map but to push algorithmic limits.
+
+nb_drones: 25
+
+# === LAYER 0: The Nightmare Begins ===
+start_hub: start 0 0 [color=green]
+
+# Single-file entry gates (extreme bottleneck)
+hub: gate_hell1 2 0 [color=red max_drones=1]
+hub: gate_hell2 3 0 [color=red max_drones=1]
+hub: gate_hell3 4 0 [color=red max_drones=1]
+hub: gate_hell4 5 0 [color=red max_drones=1]
+hub: gate_hell5 6 0 [color=red max_drones=1]
+
+# === LAYER 1: The Maze of Despair ===
+# Multiple interconnected dead ends and loops
+hub: maze_trap_a1 2 1 [color=purple]
+hub: maze_trap_a2 3 1 [color=purple]
+hub: maze_trap_a3 4 1 [color=purple]
+hub: maze_dead_a 5 1 [color=black]
+
+hub: maze_trap_b1 2 -1 [color=purple]
+hub: maze_trap_b2 3 -1 [color=purple]
+hub: maze_trap_b3 4 -1 [color=purple]
+hub: maze_dead_b 5 -1 [color=black]
+
+hub: maze_loop1 2 2 [zone=restricted color=brown]
+hub: maze_loop2 3 2 [zone=restricted color=brown]
+hub: maze_loop3 4 2 [zone=restricted color=brown]
+hub: maze_loop4 5 2 [zone=restricted color=brown]
+hub: maze_loop5 6 2 [zone=restricted color=brown]
+hub: maze_loop6 6 1 [zone=restricted color=brown]
+
+# === LAYER 2: The Capacity Nightmare ===
+hub: micro_gate1 7 0 [color=orange max_drones=1]
+hub: micro_gate2 8 0 [color=orange max_drones=1]
+hub: micro_gate3 9 0 [color=orange max_drones=1]
+
+# Overflow areas with terrible costs
+hub: overflow_hell1 7 1 [zone=restricted color=maroon max_drones=2]
+hub: overflow_hell2 8 1 [zone=restricted color=maroon max_drones=2]
+hub: overflow_hell3 9 1 [zone=restricted color=maroon max_drones=2]
+hub: overflow_hell4 7 -1 [zone=restricted color=maroon max_drones=2]
+hub: overflow_hell5 8 -1 [zone=restricted color=maroon max_drones=2]
+hub: overflow_hell6 9 -1 [zone=restricted color=maroon max_drones=2]
+
+# === LAYER 3: The False Hope Section ===
+# Priority zones that lead to more traps
+hub: false_hope1 10 0 [zone=priority color=gold max_drones=3]
+hub: false_hope2 11 0 [zone=priority color=gold max_drones=2]
+hub: false_hope3 12 0 [zone=priority color=gold max_drones=1]
+
+# More dead ends disguised as good paths
+hub: priority_trap1 10 1 [zone=priority color=gold]
+hub: priority_trap2 11 1 [zone=priority color=gold]
+hub: priority_dead 12 1 [color=black]
+
+hub: priority_trap3 10 -1 [zone=priority color=gold]
+hub: priority_trap4 11 -1 [zone=priority color=gold]
+hub: priority_dead2 12 -1 [color=black]
+
+# === LAYER 4: The Convergence Hell ===
+# Multiple restricted paths that must merge
+hub: conv_restricted1 13 2 [zone=restricted color=darkred max_drones=1]
+hub: conv_restricted2 14 2 [zone=restricted color=darkred max_drones=1]
+hub: conv_restricted3 15 2 [zone=restricted color=darkred max_drones=1]
+
+hub: conv_restricted4 13 0 [zone=restricted color=darkred max_drones=1]
+hub: conv_restricted5 14 0 [zone=restricted color=darkred max_drones=1]
+hub: conv_restricted6 15 0 [zone=restricted color=darkred max_drones=1]
+
+hub: conv_restricted7 13 -2 [zone=restricted color=darkred max_drones=1]
+hub: conv_restricted8 14 -2 [zone=restricted color=darkred max_drones=1]
+hub: conv_restricted9 15 -2 [zone=restricted color=darkred max_drones=1]
+
+# === LAYER 5: The Final Gauntlet of Doom ===
+hub: final_merge 16 0 [color=violet max_drones=5]
+hub: final_torture1 17 0 [color=crimson max_drones=2]
+hub: final_torture2 18 0 [color=crimson max_drones=1]
+hub: final_torture3 19 0 [color=crimson max_drones=1]
+hub: final_torture4 20 0 [color=crimson max_drones=1]
+hub: final_torture5 21 0 [color=crimson max_drones=1]
+
+# The ultimate goal
+end_hub: impossible_goal 23 0 [color=rainbow]
+
+# === CONNECTIONS: The Web of Suffering ===
+
+# Layer 0 connections (bottleneck hell)
+connection: start-gate_hell1 [max_link_capacity=1]
+connection: gate_hell1-gate_hell2 [max_link_capacity=1]
+connection: gate_hell2-gate_hell3 [max_link_capacity=1]
+connection: gate_hell3-gate_hell4 [max_link_capacity=1]
+connection: gate_hell4-gate_hell5 [max_link_capacity=1]
+
+# Layer 1 connections (maze of despair)
+connection: gate_hell1-maze_trap_a1
+connection: gate_hell2-maze_trap_b1
+connection: gate_hell3-maze_loop1
+
+connection: maze_trap_a1-maze_trap_a2
+connection: maze_trap_a2-maze_trap_a3
+connection: maze_trap_a3-maze_dead_a
+
+connection: maze_trap_b1-maze_trap_b2
+connection: maze_trap_b2-maze_trap_b3
+connection: maze_trap_b3-maze_dead_b
+
+connection: maze_loop1-maze_loop2
+connection: maze_loop2-maze_loop3
+connection: maze_loop3-maze_loop4
+connection: maze_loop4-maze_loop5
+connection: maze_loop5-maze_loop6
+connection: maze_loop6-maze_loop1
+
+# Escape routes from maze (very limited)
+connection: maze_trap_a2-micro_gate1
+connection: maze_trap_b2-micro_gate1
+connection: maze_loop3-micro_gate2
+
+# Layer 2 connections (capacity nightmare)
+connection: gate_hell5-micro_gate1
+connection: micro_gate1-micro_gate2
+connection: micro_gate2-micro_gate3
+
+# Overflow hell connections
+connection: micro_gate1-overflow_hell1
+connection: micro_gate2-overflow_hell2
+connection: micro_gate3-overflow_hell3
+connection: micro_gate1-overflow_hell4
+connection: micro_gate2-overflow_hell5
+connection: micro_gate3-overflow_hell6
+
+connection: overflow_hell1-overflow_hell2
+connection: overflow_hell2-overflow_hell3
+connection: overflow_hell4-overflow_hell5
+connection: overflow_hell5-overflow_hell6
+
+connection: overflow_hell3-false_hope1
+connection: overflow_hell6-false_hope1
+
+# Layer 3 connections (false hope)
+connection: micro_gate3-false_hope1
+connection: false_hope1-false_hope2
+connection: false_hope2-false_hope3
+
+# False hope traps
+connection: false_hope1-priority_trap1
+connection: false_hope2-priority_trap2
+connection: false_hope3-priority_dead
+
+connection: false_hope1-priority_trap3
+connection: false_hope2-priority_trap4
+connection: false_hope3-priority_dead2
+
+connection: priority_trap1-priority_trap2
+connection: priority_trap3-priority_trap4
+
+# Layer 4 connections (convergence hell)
+connection: false_hope3-conv_restricted1
+connection: false_hope3-conv_restricted4
+connection: false_hope3-conv_restricted7
+
+connection: conv_restricted1-conv_restricted2
+connection: conv_restricted2-conv_restricted3
+connection: conv_restricted4-conv_restricted5
+connection: conv_restricted5-conv_restricted6
+connection: conv_restricted7-conv_restricted8
+connection: conv_restricted8-conv_restricted9
+
+connection: conv_restricted3-final_merge
+connection: conv_restricted6-final_merge
+connection: conv_restricted9-final_merge
+
+# Layer 5 connections (final gauntlet)
+connection: final_merge-final_torture1
+connection: final_torture1-final_torture2
+connection: final_torture2-final_torture3
+connection: final_torture3-final_torture4
+connection: final_torture4-final_torture5
+connection: final_torture5-impossible_goal
+
+# Emergency bypass routes (extremely expensive)
+connection: overflow_hell1-conv_restricted1
+connection: overflow_hell4-conv_restricted7
+connection: priority_trap1-conv_restricted4
diff --git a/maps/easy/01_linear_path.txt b/maps/easy/01_linear_path.txt
new file mode 100644
index 0000000..04588cf
--- /dev/null
+++ b/maps/easy/01_linear_path.txt
@@ -0,0 +1,11 @@
+# Easy Level 1: Simple linear path
+nb_drones: 2
+
+start_hub: start 0 0 [color=green]
+hub: waypoint1 1 0 [color=blue]
+hub: waypoint2 2 0 [color=blue]
+end_hub: goal 3 0 [color=red]
+
+connection: start-waypoint1
+connection: waypoint1-waypoint2
+connection: waypoint2-goal
diff --git a/maps/easy/02_simple_fork.txt b/maps/easy/02_simple_fork.txt
new file mode 100644
index 0000000..06f1eb1
--- /dev/null
+++ b/maps/easy/02_simple_fork.txt
@@ -0,0 +1,14 @@
+# Easy Level 2: Simple fork with two paths
+nb_drones: 4
+
+start_hub: start 0 0 [color=green]
+hub: junction 1 0 [color=yellow max_drones=2]
+hub: path_a 2 1 [color=blue]
+hub: path_b 2 -1 [color=blue]
+end_hub: goal 3 0 [color=red]
+
+connection: start-junction [max_link_capacity=2]
+connection: junction-path_a
+connection: junction-path_b
+connection: path_a-goal
+connection: path_b-goal
diff --git a/maps/easy/03_basic_capacity.txt b/maps/easy/03_basic_capacity.txt
new file mode 100644
index 0000000..ccc3003
--- /dev/null
+++ b/maps/easy/03_basic_capacity.txt
@@ -0,0 +1,11 @@
+# Easy Level 3: Basic capacity management
+nb_drones: 4
+
+start_hub: start 0 0 [color=green]
+hub: bottleneck 1 0 [color=orange max_drones=2]
+hub: wide_area 2 0 [color=blue max_drones=3]
+end_hub: goal 3 0 [color=red]
+
+connection: start-bottleneck [max_link_capacity=4]
+connection: bottleneck-wide_area [max_link_capacity=4]
+connection: wide_area-goal [max_link_capacity=4]
diff --git a/maps/hard/01_maze_nightmare.txt b/maps/hard/01_maze_nightmare.txt
new file mode 100644
index 0000000..b32ce73
--- /dev/null
+++ b/maps/hard/01_maze_nightmare.txt
@@ -0,0 +1,52 @@
+# Hard Level 1: Complex maze with multiple dead ends and loops
+nb_drones: 8
+
+start_hub: start 0 0 [color=green]
+hub: maze_a1 1 0 [color=blue max_drones=2]
+hub: maze_a2 2 0 [color=blue]
+hub: maze_b1 1 1 [color=blue]
+hub: maze_b2 2 1 [color=blue max_drones=2]
+hub: maze_c1 1 2 [color=blue]
+hub: maze_c2 3 1 [color=blue max_drones=2]
+hub: dead_end1 0 1 [color=red max_drones=2]
+hub: dead_end2 0 2 [color=red]
+hub: dead_end3 2 -1 [color=red]
+hub: trap_loop1 4 0 [zone=restricted color=orange]
+hub: trap_loop2 4 2 [zone=restricted color=orange]
+hub: bottleneck 5 1 [color=yellow max_drones=2]
+hub: final_stretch1 6 0 [zone=priority color=cyan]
+hub: final_stretch2 6 1 [zone=priority color=cyan]
+hub: final_stretch3 6 2 [zone=priority color=cyan]
+end_hub: goal 7 1 [color=green]
+
+# Main path connections
+connection: start-maze_a1 [max_link_capacity=2]
+connection: maze_a1-maze_a2
+connection: maze_a1-maze_b1
+connection: maze_b1-maze_b2
+connection: maze_b2-maze_c2
+connection: maze_c2-maze_a2
+connection: maze_c2-bottleneck
+
+# Dead end traps
+connection: start-dead_end1 [max_link_capacity=2]
+connection: dead_end1-dead_end2
+connection: maze_a2-dead_end3
+
+# Trap loops
+connection: maze_a2-trap_loop1
+connection: trap_loop1-trap_loop2
+connection: trap_loop2-maze_c1
+
+# Alternative paths
+connection: maze_b1-maze_c1
+connection: maze_c1-maze_b2
+connection: maze_b2-maze_a2
+
+# Final stretch
+connection: bottleneck-final_stretch1
+connection: bottleneck-final_stretch2
+connection: bottleneck-final_stretch3
+connection: final_stretch1-goal
+connection: final_stretch2-goal
+connection: final_stretch3-goal
diff --git a/maps/hard/02_capacity_hell.txt b/maps/hard/02_capacity_hell.txt
new file mode 100644
index 0000000..a7d8856
--- /dev/null
+++ b/maps/hard/02_capacity_hell.txt
@@ -0,0 +1,51 @@
+# Hard Level 2: Extreme capacity constraints with timing challenges
+nb_drones: 12
+
+start_hub: start 0 -1 [color=green]
+hub: gate1 1 0 [color=orange max_drones=1]
+hub: gate2 2 0 [color=orange max_drones=1]
+hub: gate3 3 0 [color=orange max_drones=1]
+hub: waiting_area1 1 1 [color=blue max_drones=4]
+hub: waiting_area2 2 1 [color=blue max_drones=4]
+hub: waiting_area3 3 1 [color=blue max_drones=4]
+hub: restricted_tunnel1 4 0 [zone=restricted color=red max_drones=2]
+hub: restricted_tunnel2 5 0 [zone=restricted color=red max_drones=2]
+hub: restricted_tunnel3 6 0 [zone=restricted color=red max_drones=2]
+hub: priority_bypass1 3 2 [zone=priority color=cyan max_drones=3]
+hub: priority_bypass2 4 2 [zone=priority color=cyan max_drones=3]
+hub: convergence 7 0 [color=yellow max_drones=6]
+hub: final_bottleneck 8 0 [color=orange max_drones=3]
+end_hub: goal 9 0 [color=green]
+
+# Sequential gates (major bottleneck)
+connection: start-gate1 [max_link_capacity=1]
+connection: start-gate2 [max_link_capacity=1]
+connection: start-gate3 [max_link_capacity=1]
+connection: gate1-gate2 [max_link_capacity=1]
+connection: gate2-gate3 [max_link_capacity=1]
+
+# Waiting areas for queue management
+connection: gate1-waiting_area1
+connection: gate2-waiting_area2
+connection: gate3-waiting_area3
+connection: waiting_area1-waiting_area2
+connection: waiting_area2-waiting_area3
+
+# Restricted tunnel path (slow but more capacity)
+connection: gate3-restricted_tunnel1
+connection: restricted_tunnel1-restricted_tunnel2
+connection: restricted_tunnel2-restricted_tunnel3
+connection: restricted_tunnel3-convergence
+
+# Priority bypass (fast but limited capacity)
+connection: waiting_area1-priority_bypass1
+connection: waiting_area2-priority_bypass2
+connection: priority_bypass1-priority_bypass2
+connection: priority_bypass2-convergence [max_link_capacity=2]
+
+# Final challenge
+connection: convergence-final_bottleneck [max_link_capacity=3]
+connection: final_bottleneck-goal
+
+# Emergency overflow paths
+connection: waiting_area3-convergence
diff --git a/maps/hard/03_ultimate_challenge.txt b/maps/hard/03_ultimate_challenge.txt
new file mode 100644
index 0000000..6dea02f
--- /dev/null
+++ b/maps/hard/03_ultimate_challenge.txt
@@ -0,0 +1,98 @@
+# Hard Level 3: THE ULTIMATE CHALLENGE - All tricks combined
+nb_drones: 15
+
+start_hub: start 0 0 [color=green]
+
+# Layer 1: Initial distribution nightmare
+hub: dist_gate1 1 -1 [color=orange]
+hub: dist_gate2 1 1 [color=orange]
+hub: dist_gate3 1 0 [color=orange]
+
+# Layer 2: Dead end maze with loops
+hub: maze_trap1 1 2 [color=red]
+hub: maze_trap2 2 2 [color=red max_drones=3]
+hub: maze_loop1 2 1 [color=purple max_drones=3]
+hub: maze_loop2 3 1 [color=purple max_drones=3]
+hub: maze_loop3 4 1 [color=purple max_drones=3]
+hub: maze_loop4 3 2 [color=purple max_drones=3]
+hub: maze_correct 2 0 [color=blue max_drones=3]
+
+# Layer 3: Capacity nightmare section
+hub: bottleneck1 3 0 [color=yellow max_drones=2]
+hub: bottleneck2 4 0 [color=yellow max_drones=1]
+hub: overflow1 3 -1 [zone=restricted color=orange max_drones=3]
+hub: overflow2 4 -1 [zone=restricted color=orange max_drones=3]
+
+# Layer 4: Priority puzzle with traps
+hub: priority_hub 5 0 [zone=priority color=cyan max_drones=4]
+hub: priority_trap1 5 1 [zone=priority color=cyan]
+hub: priority_trap2 6 1 [zone=priority color=cyan]
+hub: priority_dead_end 6 2 [color=red]
+hub: priority_correct 6 0 [zone=priority color=cyan max_drones=3]
+
+# Layer 5: Multi-path convergence hell
+hub: conv_restricted1 7 0 [zone=restricted color=brown max_drones=2]
+hub: conv_restricted2 8 0 [zone=restricted color=brown max_drones=2]
+hub: conv_normal1 7 -1 [color=blue max_drones=3]
+hub: conv_normal2 8 -1 [color=blue max_drones=3]
+hub: conv_priority1 7 1 [zone=priority color=lime max_drones=2]
+hub: conv_priority2 8 1 [zone=priority color=lime max_drones=2]
+
+# Layer 6: Final gauntlet
+hub: final_merge 9 0 [color=magenta max_drones=8]
+hub: final_gate1 10 0 [color=orange max_drones=3]
+hub: final_gate2 11 0 [color=orange max_drones=2]
+hub: final_gate3 12 0 [color=orange max_drones=1]
+
+end_hub: goal 13 0 [color=gold]
+
+# Layer 1 connections
+connection: start-dist_gate1
+connection: start-dist_gate2 [max_link_capacity=2]
+connection: start-dist_gate3
+
+# Layer 2 connections - maze with traps
+connection: dist_gate1-maze_correct
+connection: dist_gate2-maze_trap1 [max_link_capacity=2]
+connection: dist_gate3-maze_loop1
+connection: maze_trap1-maze_trap2 [max_link_capacity=2]
+connection: maze_loop1-maze_loop2
+connection: maze_loop2-maze_loop3
+connection: maze_loop3-maze_loop4
+connection: maze_loop4-maze_loop1
+connection: maze_loop2-maze_correct
+
+# Layer 3 connections - capacity nightmare
+connection: maze_correct-bottleneck1 [max_link_capacity=2]
+connection: bottleneck1-bottleneck2
+connection: bottleneck1-overflow1
+connection: overflow1-overflow2 [max_link_capacity=2]
+connection: overflow2-bottleneck2
+
+# Layer 4 connections - priority puzzle
+connection: bottleneck2-priority_hub
+connection: priority_hub-priority_trap1
+connection: priority_hub-priority_correct
+connection: priority_trap1-priority_trap2
+connection: priority_trap2-priority_dead_end
+connection: priority_correct-conv_restricted1
+connection: priority_correct-conv_normal1
+connection: priority_correct-conv_priority1
+
+# Layer 5 connections - multi-path convergence
+connection: conv_restricted1-conv_restricted2
+connection: conv_normal1-conv_normal2
+connection: conv_priority1-conv_priority2 [max_link_capacity=2]
+connection: conv_restricted2-final_merge
+connection: conv_normal2-final_merge
+connection: conv_priority2-final_merge [max_link_capacity=2]
+
+# Layer 6 connections - final gauntlet
+connection: final_merge-final_gate1 [max_link_capacity=3]
+connection: final_gate1-final_gate2 [max_link_capacity=2]
+connection: final_gate2-final_gate3 [max_link_capacity=2]
+connection: final_gate3-goal [max_link_capacity=2]
+
+# Emergency bypass (very expensive)
+connection: overflow2-conv_normal1
+connection: priority_hub-conv_priority1
diff --git a/maps/medium/01_dead_end_trap.txt b/maps/medium/01_dead_end_trap.txt
new file mode 100644
index 0000000..c90a3b6
--- /dev/null
+++ b/maps/medium/01_dead_end_trap.txt
@@ -0,0 +1,15 @@
+# Medium Level 1: Dead end trap - drones might get stuck
+nb_drones: 5
+
+start_hub: start 0 0 [color=green]
+hub: junction 1 0 [color=yellow max_drones=2]
+hub: dead_end 1 1 [color=red]
+hub: correct_path 2 0 [color=blue]
+hub: intermediate 3 0 [color=blue]
+end_hub: goal 4 0 [color=green]
+
+connection: start-junction [max_link_capacity=2]
+connection: junction-dead_end
+connection: junction-correct_path
+connection: correct_path-intermediate
+connection: intermediate-goal
diff --git a/maps/medium/02_circular_loop.txt b/maps/medium/02_circular_loop.txt
new file mode 100644
index 0000000..794909c
--- /dev/null
+++ b/maps/medium/02_circular_loop.txt
@@ -0,0 +1,18 @@
+# Medium Level 2: Circular loop with restricted zones
+nb_drones: 6
+
+start_hub: start 0 0 [color=green]
+hub: loop_a 1 0 [color=orange max_drones=2]
+hub: loop_b 2 0 [color=orange max_drones=2]
+hub: loop_c 2 1 [color=orange max_drones=2]
+hub: loop_d 1 1 [color=orange max_drones=2]
+hub: exit_point 3 0 [zone=restricted color=blue]
+end_hub: goal 4 0 [color=red]
+
+connection: start-loop_a [max_link_capacity=2]
+connection: loop_a-loop_b [max_link_capacity=2]
+connection: loop_b-loop_c [max_link_capacity=2]
+connection: loop_c-loop_d [max_link_capacity=2]
+connection: loop_d-loop_a [max_link_capacity=2]
+connection: loop_b-exit_point
+connection: exit_point-goal
diff --git a/maps/medium/03_priority_puzzle.txt b/maps/medium/03_priority_puzzle.txt
new file mode 100644
index 0000000..04f35f8
--- /dev/null
+++ b/maps/medium/03_priority_puzzle.txt
@@ -0,0 +1,18 @@
+# Medium Level 3: Priority zones create optimal path challenges
+nb_drones: 5
+
+start_hub: start 0 0 [color=green]
+hub: slow_path1 1 -1 [zone=restricted color=red]
+hub: slow_path2 2 -1 [color=red]
+hub: fast_junction 1 0 [zone=priority color=blue max_drones=2]
+hub: fast_path 2 0 [zone=priority color=blue]
+hub: merge_point 3 0 [color=yellow max_drones=3]
+end_hub: goal 4 0 [color=green]
+
+connection: start-slow_path1
+connection: start-fast_junction
+connection: slow_path1-slow_path2
+connection: slow_path2-merge_point
+connection: fast_junction-fast_path
+connection: fast_path-merge_point
+connection: merge_point-goal [max_link_capacity=2]