1
0
Fork 0
polaris-task-force/src/collections
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
..
banking feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
discord feat(bot): add editable Discord Rich Presence via command and CMS 2026-10-12 10:21:37 -04:00
game feat(npc-dialogue): post opted-in event effects to Discord dispatch channel 2026-10-14 16:57:33 -04:00
intelligence feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
locker feat(arma-bridge): sync limited-arsenal locker stock with the game 2026-10-05 03:17:59 -04:00
logistics feat(approval): reset reviewed documents to in progress on non-superuser edits 2026-10-15 10:01:02 -04:00
market style(collections): replace dashes in admin field descriptions 2026-09-07 05:19:50 -04:00
minigames feat(minigames): add phasing-out status with estimated removal date 2026-10-14 23:51:37 -04:00
operations feat(operations): readiness and zone pressure aggregates 2026-09-20 02:43:53 -04:00
projects feat(projects): enforce permissions and improve search 2026-08-21 00:26:33 -04:00
server feat(arma-bridge): handle garage deposit, withdraw, and sync events 2026-10-13 16:02:58 -04:00
story feat(journals): member-authored journal entries with author-owned publishing 2026-10-12 14:39:48 -04:00
tickets feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
users feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
voiceover fix(uploads): store upload collections under the persistent media volume 2026-10-08 12:14:46 -04:00
wiki feat(wiki): add page curation for featured strip 2026-10-09 17:56:02 -04:00
world feat(map): add Arma-style coordinate grid config, overlay and mission-map wiring 2026-10-05 03:17:52 -04:00
AGENTS.md feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
Announcements.ts feat(announcements): add announcements system with roleDocs targeting and richText 2026-09-22 21:08:46 -04:00
Media.ts feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
Shims.ts style(collections): replace dashes in admin field descriptions 2026-09-07 05:19:50 -04:00