1
0
Fork 0
polaris-task-force/src/collections/users
Z8MB1E bfb5cea3c1 feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill
Add a 2-8 player free-for-all Bomberman-style charge-clearing drill at
/minigames/bomperator, category multiplayer. Pure engine plus a single-instance
in-memory match registry, mirroring the call-for-fire-versus split but upgraded
from turn-based to a fixed ~10 Hz tick loop.

Engine (src/lib/minigames/bomperator): seeded RNG via state.rngState/gridSeed;
grid is 15x13 with border, even/even pillars and seeded crates; classic pickups
bomb/range/speed/kick. Movement is grid-locked with sub-cell interpolation,
charges fuse about 2.5s, cross-flames stop at walls, crates are destroyed and
charges chain-detonate and kick-push. Round ends at one alive; sudden death
spawns random explosions after 150s with a draw guard.

Registry (registry.ts): one setInterval per live match started on startMatch and
cleared on complete/dissolve; globalThis-anchored map; holds seats across a
reconnect window then eliminates; below two active seats it dissolves. On a
manual end, broadcasts a bomperator-terminated event so remaining players see a
toast, then awards rewards via stats.ts (minigame:bomperator, profile group
bomperator: matchesPlayed/matchWins/roundsWon/kills/xpEarned).

Clients POST rate-limited inputs and poll fetchBomperatorMatch; the SSE bus pushes
snapshots with a guarded slow-poll fallback. Registry row ships as upcoming so the
page renders the coming-soon shell until an admin flips it active. Adds the
migration for the stats group, the minigame:bomperator event type, XP
aggregation on the profile, generated types, and real-time event wiring.
2026-10-16 00:32:52 -04:00
..
Assignments.ts feat(assignments): add AssignmentMembersField component for managing assignment members 2026-08-29 23:53:13 -04:00
AssignmentTransfers.ts feat(collections): Add AssignmentTransfers collection and migrations 2026-08-31 23:40:02 -04:00
AwardRules.ts feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00
Awards.ts feat(awards): add award advancement series 2026-09-11 17:07:37 -04:00
ContributionEntries.ts feat(contributions): award XP for published journal entries 2026-10-13 14:37:53 -04:00
Evaluations.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
Experience.ts feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
LeadershipTransfers.ts feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
Profiles.ts feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
PromotionNominations.ts feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
Qualifications.ts feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
Ranks.ts feat(promotions): add rank promotion ceiling with GM promote flow 2026-09-14 15:37:05 -04:00
RibbonSubmissions.ts feat(awards): add ribbon submissions collection, design validation and migration 2026-09-11 03:25:59 -04:00
Roles.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
UserNotifications.ts fix(notifications): scope user notification reads 2026-09-01 17:17:34 -04:00
Users.ts feat(sidebar): add server-persisted section reorder with customize mode 2026-10-12 13:46:48 -04:00