# Wolfenstein 3D Controller

![Wolfenstein 3D controller icon](pwa-512x512.png "Wolfenstein 3D controller icon")

`wolfenstein-c` is the smartphone touch controller for the RCWeb [`wolfenstein`](../wolfenstein/appinfo) viewer. Scan the viewer's QR code or open `/wolfenstein-c/?r=<room>` with the same room as the shared display.

The first connected phone takes the single-player controls. Refreshing in the same browser can reclaim your session. Controls release when you leave or hide the page.

Drag the main stick to move and turn, and use the separate Strafe slider for sideways motion. `Fire` and `Use` can be held while moving. `Weapon` cycles collected weapons, `Map` toggles the minimap, `Menu` pauses or resumes, and `Select` continues completion and game-over screens. `Reset game` restarts the game on the shared display.


## Features

- Movement stick and separate strafe slider.
- Hold Fire/Use, cycle weapons and toggle the map.
- Menu, Select and game reset controls.

## Screenshots

![Wolfenstein movement controller linked](screenshot01.png)

![Controller after turning through the corridor](screenshot02.png)

![Fire control used during gameplay](screenshot03.png)
