The RCWeb Snake Pro Control App (app/snake-pro-control) is the dedicated analog joystick controller for the upgraded Snake Pro arcade. Staying true to the Asymmetric Pattern, it transforms the smartphone into a sophisticated virtual thumbstick for smooth, 360-degree gameplay.


strength), passing it to the server so players can intentionally speed up or slow down their snake dynamically.pulseBannerEle) that snaps onto the screen to announce temporary achievements natively locally ("Nice bite," "Respawn in 3...").The application heavily focuses on mathematical physics tracking over raw DOM script.js button events and throttling high-velocity network payloads.
pointerdown/pointermove specifications rather than just touch events. It establishes the physical center of the touchPadEle box boundary and calculates raw Cartesian Distance vectors (Math.hypot(dx, dy)) as the user drags.maxRadius). It mathematically computes absolute unit vectors (vectorX: -1.0 to 1.0, vectorY: -1.0 to 1.0) so the host engine is completely agnostic to the physical screen width of the controller supplying the data.sendControlState loop buffers outbound calls (rc.sendFunctionCall("snake-pro", "snakePro.remoteInput", ...)), enforcing a strict controlIntervalMs (100ms) threshold timeout clamp safely preventing network traffic flooding.