# PolyRoadBlock XR Control

![PolyRoadBlock XR Control icon](pwa-192x192.png)

Smartphone companion controller for [PolyRoadBlock XR](/polyroadblock-xr/appinfo). Join any active room to either **drive the Monster Truck (Player 1)** when nobody is driving on screen or in XR, or play as a **Road Blocker** placing and selling 20 quirky road blocks live on the circular tabletop track!

## Features

- **Automatic Role Assignment & Switching:** If nobody is driving on screen or in a WebXR headset, the first phone can claim **Player 1 · Driver** with a live 6-zone truck damage readout above thumb-zone driving controls in two selectable modes: **Buttons** (multi-touch steering and Gas / Brake-Reverse pedals) or **Touch &amp; Drag Directional Joystick**.
- **Interactive Clickable Road Map (Road Blockers):** Additional players see a live circular tabletop track layout with the moving monster truck marker and all **6 clickable straight segments (S1–S6)**.
- **Coin Economy & 20-Obstacle Shop:** Earn coins steadily as the truck drives, plus bonus coins for lap completions and obstacle hits. Spend coins to place ramps, oil slicks, 360&deg; loop-the-loops, giant strutting chickens, UFO beams, and lava geysers—or sell existing obstacles for a 60% coin refund to upgrade to deadlier traps!
- **Seamless Mid-Game Join & Leave:** Join anytime during a race with lap-scaled starter coins, or disconnect cleanly without interrupting the race.

## How to Use

1. Scan the QR code shown on the **PolyRoadBlock XR** screen or on the floating 3D status panel inside the XR headset.
2. Enter your display name (saved automatically on your device) and tap **Start Race** when ready.
3. **As Driver:** Choose **Buttons** (slide or tap **LEFT / RIGHT** to steer, hold **GAS** or **BRAKE / REV**) or **Joystick** (touch and drag anywhere in the pad—up for gas, left/right to steer, down for brake/reverse, double-tap or tap **Airhorn** to honk), and keep your monster truck on the wooden table for 5 laps!
4. **As Road Blocker:** Tap any unlocked straight segment (`S1`–`S6`) on the circular track map, browse the 4 tiers of obstacles, tap **Place**, or tap **Sell** to reclaim coins for bigger traps.
5. Tap **Back to apps** at the top-left to return to the RCWeb launcher in the same room.
