Monster Breach
Build real Data Pipelines to cleanse corrupted crystals and defeat the Corruption Horde!
📋 Overview
Welcome, Data Engineer! The realm of Fabricia is under attack. The Corruption Horde is trying to destroy the sacred data flows that power the kingdom.
Your mission: build data pipelines to transport precious Data Crystals from source to destination, while defending against waves of data corruption monsters!
Each level teaches you a new Pipeline Activity. Master them all to face the Final Boss: The Corruption King and save Fabricia!
🚀 Quick Start
Install the game into your own Fabric workspace, then open the MonsterBreach_Judge notebook and start the campaign.
from fabric_arcade import arcade
arcade.install("monster-breach")
Enjoying the quest? ⭐ Star the repo to support Fabric Arcade!
🧩 How You Play (Real Fabric, Not a Simulation)
Monster Breach is a learning quest: you build real Fabric Data Pipelines to defeat monsters. Every level follows the same loop:
- 📖 Read the briefing in the
MonsterBreach_Judgenotebook (e.g. "The Null Bug invaded the mines — build a Copy Activity that filters non-null CrystalId"). - 🔧 Open the matching empty pipeline in Fabric (e.g.
Lvl01_CopyQuest) and assemble it in the UI. - ▶️ Run the pipeline from the Fabric UI.
- ⚖️ Back in the notebook, run
judge.check_level(1)— the judge compares your output to the expected oracle dataset and emits aLevelCompleteorLevelFailedevent to the Eventhouse. - 📊 The
MonsterBreach_Dashboardnotebook updates live with boss HP, crystals saved, and the leaderboard.
📦 What Gets Installed in Your Workspace
arcade.install("monster-breach") deploys:
- 🏠 1 Lakehouse
MonsterBreach_LH— holds thedirty_crystals_*inputs, theclean_expected_*oracles, themine_thresholdsreference table, and yourplayer_*output tables. - ⚡ 1 Eventhouse
MonsterBreach_EHwith KQL DatabaseBattleDataand tableBattleEvents— telemetry for every attempt. - 📓 3 Notebooks:
MonsterBreach_Seed— generates synthetic dirty + expected datasets (run once).MonsterBreach_Judge— briefings +check_level(N)validator.MonsterBreach_Dashboard— live KQL/Plotly dashboard.
- 🛠️ 4 empty level pipelines
Lvl01_CopyQuest,Lvl02_FilterFortress,Lvl03_BranchLair,Lvl04_ForEachReef— you fill them in. - 👑 1 empty boss pipeline
BossBattle_CorruptionKing— chain every technique into one mega-flow.
🎮 Gameplay
┌─────────────────────────────────────────────────────────────────┐ │ │ │ 💎 SOURCE 🏆 DESTINATION │ │ │ ▲ │ │ ▼ │ │ │ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ │ │ │COPY │───▶│FILTER│───▶│TRANS │───▶│LOOKUP│───▶│ LOAD │ │ │ │ 📦 │ │ 🔍 │ │ ⚙️ │ │ 📖 │ │ 📥 │ │ │ └──────┘ └──────┘ └──────┘ └──────┘ └──────┘ │ │ │ │ │ │ │ │ │ │ 🐛 NULL BUG 👻 DUPLICATE │ │ attacking! GHOST! │ │ │ │ ❤️❤️❤️ Lives: 3 💎 Crystals: 847/1000 │ │ ⚡ 12 Pipeline Power 🏆 Level 4: Transform Temple │ │ │ └─────────────────────────────────────────────────────────────────┘
🔧 Pipeline Activities (Your Tools)
Build your pipeline by placing activities. Each has a unique power:
🐉 The Corruption Horde (Enemies)
Four monsters guard the crystal mines — each corrupts the data in two ways. Defeat them in order, then face the Corruption King:
CrystalIds (NULLs) and scorches the type metadata: Weight and Purity arrive as text ("85%").IngestDate batches.mine_thresholds.🗺️ Campaign: 5 Levels
player_lvl01player_lvl02player_lvl03player_lvl04player_boss👑 Final Challenge: The Corruption King
💀 Attack Pattern
-
Phase 1: Null StormSpawns waves of Null Bugs from all directions. Must filter constantly!
-
Phase 2: Schema ShiftChanges your pipeline schema every 30 seconds. Adapt or die!
-
Phase 3: Infinite RecursionCreates loop dependencies. Break the cycle with proper ForEach limits!
-
Phase 4: Total CorruptionALL monster types attack simultaneously. Use everything you've learned!
-
Phase 5: King's WrathDisables random activities. Build redundant pipelines to survive!
🛡️ How to Defeat
You must build a Master Pipeline that combines ALL activities you've learned:
SOURCE → COPY → FILTER → DATAFLOW → FOREACH ─┬─→ IF TRUE → LOOKUP → SINK │ └─→ IF FALSE → RETRY → SINK + Error Handling on EVERY activity + Retry Policy: 3 attempts, exponential backoff + Timeout: 30 seconds per activity + Parallel execution where safe
🏆 Defeat the King to earn the title: Master Data Engineer
📊 Telemetry Events → Eventhouse
Every action generates real-time events for analytics:
🔧 Workloads
📦 Fabric Items Deployed
🎓 What You'll Learn
| Skill | Fabric Feature | Level |
|---|---|---|
| Copy data between sources | Copy Activity | ⭐ |
| Filter and clean data | Filter Activity | ⭐ |
| Transform with Dataflow | Dataflow Gen2 | ⭐⭐ |
| Enrich with lookups | Lookup Activity | ⭐⭐ |
| Parallel processing | ForEach Activity | ⭐⭐ |
| Conditional logic | If Condition / Switch | ⭐⭐⭐ |
| Error handling | Retry Policy / On Failure | ⭐⭐⭐ |
| Pipeline orchestration | Execute Pipeline | ⭐⭐⭐ |
🎯 Scenarios
🎮 Played it? Tell me!
Tried this game in your Fabric workspace? Share how it went, leave a comment, or report a 🐛 bug — your feedback shapes the next level.