← Back to Catalog
🏎️
ACCELERATOR

Fabric Racing Game

Data Pipeline Edition - 10 Fabric-themed tracks, collect ⭐ data points, avoid 🐛 bugs!

Difficulty ⭐⭐ Intermediate
Deploy Time ~3 min
Complete Time ~45 min
Status ✅ Available

📋 Overview

Race through 10 Fabric-themed tracks in the Data Pipeline Edition! Collect ⭐ data points with a consecutive multiplier up to x10, avoid 🐛 bugs, and reach the finish line with enough points to advance. Vertical scrolling with START and FINISH lines!

🚀 Quick Start

Open a Fabric Notebook and run:

# Cell 1 - Install
%pip install -q fabric-arcade
# Cell 2 - Deploy
from fabric_arcade import arcade

arcade.install("fabric-racing-game")

That's it! A README notebook with complete instructions will be created automatically.

🏆 Fabric-Themed Tracks

LevelTrackTarget⭐ Data Points🐛 Bugs
1Lakehouse Lane500125
2Pipeline Pass800147
3Warehouse Way1,200169
4Dataflow Drive1,6001811
5Notebook Narrows2,0002014
6Eventhouse Express2,5002217
7Shortcut Sprint3,0002420
8Capacity Canyon3,5002624
9OneLake Overdrive4,0002828
10Spark Summit5,0003232

📊 Scoring System

Data Point: +50 × multiplier
🔥Multiplier: x2, x3... up to x10 (every 3 stars)
🐛Bug Hit: -30 pts (resets multiplier)
🏁Level Complete: Reach FINISH + target score
🔄Score resets each level

🔧 Workloads

Real-Time Intelligence

📦 Fabric Items Deployed

🏠 Eventhouse RacingEventhouse
📊 KQL Database RaceData
🌊 Eventstream RacingStream
📓 Notebook Racing_Championship

🎯 Scenarios

Streaming Gaming Real-Time Dashboard

⚙️ Post-Deploy Configuration

1

Configure Eventstream

Open RacingEventstream in your workspace and click Edit.

  • Add a Custom Endpoint source named TelemetryInput
  • Add an Eventhouse destination:
    • Data ingestion mode: Event processing before ingestion
    • Workspace: Your workspace
    • Eventhouse: RacingEventhouse
    • KQL Database: RaceData
    • KQL Destination table: GameEvents
    • Input data format: Json
  • Connect Source to Destination
  • Click Publish
2

Get the Ingestion URI

The Ingestion URI is in the KQL Database details:

  • Open RacingEventhouse in your workspace
  • Click on RaceData database (in the left panel under "KQL databases")
  • In the Database details panel on the right, find Ingestion URI
  • Click Copy URI
3

Start the Game

Open the Racing_Championship notebook, paste the Ingestion URI, and run all cells.

4

Play! 🎮

  • ⬅️➡️ Arrow Keys: Steer left/right
  • Collect ⭐ data points for bonus score
  • Avoid 🐛 bugs or lose points
  • Reach the FINISH line with enough points!
  • Complete all 10 Fabric-themed tracks to win!

✨ What You'll Learn

🏁 CHALLENGE: Build Your Pit Wall!

🌟 Homework: Put your Real-Time Intelligence skills to the test!

Create your own "Pit Wall" — a real-time dashboard to monitor the race like a Formula 1 team:

  • 📊 Leaderboard Position — Who's winning?
  • Stars Collected per driver
  • 🐛 Bugs Avoided vs Hit
  • 🔥 Max Multiplier reached
  • 🏆 Current Level of each player

💡 Hint: Use KQL Queryset or Real-Time Dashboard with queries on the GameEvents table!

🏛️ Architecture

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  HTML5 Racing   │────▶│   Eventstream   │────▶│   Eventhouse    │
│     Game        │     │  (Custom EP)    │     │  (KQL Database) │
└─────────────────┘     └─────────────────┘     └─────────────────┘
                                                        │
                                                        ▼
                                                ┌─────────────────┐
                                                │  Race Dashboard │
                                                │   (KQL Queries) │
                                                └─────────────────┘
                

📋 Prerequisites

▶ START NOW