# Surf

Surf is a colourful multiplayer bodyboarding game for a shared RCWeb display. Each player joins with the companion `surf-c` phone controller and rides the same moving ocean.

## How to play

- Hold **left** or **right** to carve along the face of the wave.
- Hold **Paddle** to gain energy and push toward the pocket.
- Tap **Trick** close to the lip with at least 30 energy.
- Stay close to the pocket to score continuously.
- Collect ocean bonuses, avoid hazards, and land tricks to build a combo.

Large waves arrive five to nine waves apart, averaging one large wave every seven waves. They last longer and award double points. Heats last 90 seconds and support multiple simultaneous players.

Open the viewer at `/surf/?r=<room>` and controllers at `/surf-c/?r=<room>`.

The viewer is authoritative: it validates moves, owns scores and wave state, and sends each controller private status snapshots. Generated 4×4 sprite sheets provide surfer animation, spray, pickups, and hazards.

## Screenshots

![Surf rider on the wave face](screenshot01.png)

![Surf trick sequence building heat](screenshot02.png)

![Surf run after paddling for power](screenshot03.png)
