# PolyCrash
Flat-shaded low-poly 3D demolition derby arena for up to six phone players plus AI rivals in a circular bowl.

![PolyCrash icon](pwa-192x192.png)

**PolyCrash** is a flat-shaded low-poly 3D Demolition Derby arena game inspired by the 1995 classic *Destruction Derby* ("The Bowl"), built for up to 6 players on smartphones plus AI rivals.

![PolyCrash Destruction Derby arena](screenshot.png)

## Features

- **Compact circular Bowl arena with parallax horizon:** Tight, flat-shaded, zero-texture circular demolition bowl framed by a simple concrete barrier wall and layered low-poly parallax hills, distant ridges, mountain peaks, and drifting clouds.
- **Dynamic human-player camera:** Automatically tracks and zooms smoothly to fit all active human players cleanly on screen, zooming right into close-up action for solo play and pulling back as players spread across The Bowl.
- **Accurate real-time car deformation:** Every collision crumples the impacted fender, hood, door, grille, bumper, or rear trunk directly at the point of impact with welded low-poly panels and realistic suspension recoil.
- **Planted traction & rigid-body momentum:** Crisp, grippy stock-car cornering paired with full 2D linear and angular momentum collisions, T-bone knockback spins, reverse-ramming, and locational damage affecting engine power, wheel alignment, and steering pull.
- **Destruction Derby damage and smoke:** Frontal hits threaten your radiator—damaged engines steam, billow dark smoke, and eventually stall out completely when wrecked, sending up a tall column of faceted dark smoke above the car.
- **Classic spin and wreck scoring:** Rack up points for high-speed rams, 90°, 180°, 270°, and 360° opponent spins, knockout wrecks, and the Last Car Standing survivor bonus.
- **Always 6 cars in the Bowl:** Any open seats are automatically filled by aggressive AI drivers (*Crusher*, *Axel*, *Nitro*, *Tank*, *Viper*, *Bruiser*)—including a live attract/demo derby that plays continuously while players scan the QR code to join.
- **Real royalty-free crash sound effects:** Varied recorded metal crunches, heavy head-on crashes, hollow door smashes, shattering car glass, metallic scrapes, concrete wall thuds, and wreck explosions (with a mute toggle in the top-right corner).

![PolyCrash low-poly stock car close-up](screenshot-car.jpg)

## Joining and playing

- **On smartphones:** Scan the QR code shown on the display (or launch **PolyCrash** from the RCWeb App Launchpad) to open **PolyCrash Control** automatically. Up to 6 phones can claim stock cars; additional phones spectate and can join whenever a slot opens.
- **On the viewer screen:** Click **Play on Screen** (or press **Left/Right** or **A/D**) to drive directly on the display using **Arrow keys** or **WASD** (**Space** for handbrake, **Enter** to start or advance rounds) or on-screen touch buttons.
- **Starting a derby:** Tap **Start Derby** on any connected phone or on the display. Protect your front radiator by ramming rivals with your rear trunk or slamming into their side doors!
