Commit Graph

3 Commits

Author SHA1 Message Date
Benjamin Oezcan
593d69714b feat(net): server measures every player's ping and its own step cost, sent with each snapshot
Also fixes the ping message schema (it checked the field t, which is the message type).
2026-11-19 14:25:46 +01:00
Benjamin Oezcan
0202a08b8d feat(server): achievements pay out server-side, snapshots carry opponent connection state 2026-11-19 02:09:12 +01:00
Benjamin Oezcan
dca1032ac4 feat(server)!: websocket lobby, server-run matches, server economy, new schema (P1-2, P1-4, P2-1, P2-1b, P2-5)
Replaces the Firebase-style /db facade (rtdb, rules, nodes tree) with explicit REST endpoints and a
WebSocket hub. Login by name or optional e-mail, seed accounts via npm run db:reset.

BREAKING CHANGE: old clients (lobby/netfight over /db) no longer work against this server; database is new.
2026-11-19 01:52:30 +01:00