root a23ecaf4c1 Add analytics integration with Horchposten backend
Implements session-based analytics tracking that sends gameplay
stats to the Horchposten API. Adds stats.{c,h} for accumulating
per-session metrics (kills, deaths, shots, dashes, jumps, pickups,
damage, time) and analytics.{c,h} with EM_JS bridge for fetch()
calls to the backend. Client ID is persisted in localStorage.
Session start/end hooks are wired into all game lifecycle events
(level transitions, restart, quit, tab close via sendBeacon).
Analytics URL/key are configured via data attributes on the canvas
container. Non-WASM builds compile with no-op stubs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:11:39 +00:00
2026-02-28 18:03:47 +00:00
2026-02-28 18:03:47 +00:00
2026-03-02 20:32:28 +00:00
2026-02-28 18:03:47 +00:00
2026-03-05 17:38:46 +00:00
2026-03-05 17:38:46 +00:00
2026-03-05 19:21:41 +00:00
Description
No description provided
25 MiB
Languages
C 95%
Python 2.4%
HTML 1.5%
Makefile 1%
Dockerfile 0.1%