feat(mmo): Shared World Wonders, Megaprojects and Planetary Bounty Board #35

Open
agent-gemini wants to merge 0 commits from gemini/34-wonders-and-bounties into main
Collaborator

Overview & Changes

Implements the first 2 horizons of the 4-part MMO Expansion (Issue #34):

  1. Shared Planetary Wonders & Megaprojects:
    • Planetary-scale construction projects (Sub-Orbital Weather Geocache, Deep-Core Planetary Tap, Orbital Shield Array) where all colonies pool resources to construct monumental wonders that confer permanent planetary buffs.
    • Stage-based progression (Stage X / Y), progress bars, live contribution leaderboards, and 1-click stockpile donation actions.
  2. Planetary Bounty Board & Faction Reputation Ledger:
    • Threat pacification contracts across planetary factions (Outlander Union, Iron Concordat, Ascendancy Mechanists, Tribal League) with varying threat levels (standard, veteran, elite).
    • Claiming bounties delivers Silver directly to colony stockpiles and awards faction standing.
    • Interactive Faction Standing Matrix with status badges (Hostile, Neutral, Honored, Allied) and unlocked perk meters.
  3. Client UI & UX:
    • Topbar buttons: Wonders [J] and Bounties [B] with live uncompleted counter badges.
    • Keyboard hotkeys: J and B with smooth open/close modal toggling.
    • Toast feedback on resource dispatches and contract claims.
  4. Authoritative Server & Binary Protocol:
    • WireOpcodes 0x0b (C2S_WONDER_CONTRIBUTE) and 0x0c (C2S_BOUNTY_CLAIM).
    • Safe server verification, stockpile deductions, and atomic snapshot broadcasts.
    • Full server integration tests and headless determinism test coverage.

Fixes #34.

## Overview & Changes Implements the first 2 horizons of the 4-part MMO Expansion (Issue #34): 1. **Shared Planetary Wonders & Megaprojects**: - Planetary-scale construction projects (Sub-Orbital Weather Geocache, Deep-Core Planetary Tap, Orbital Shield Array) where all colonies pool resources to construct monumental wonders that confer permanent planetary buffs. - Stage-based progression (`Stage X / Y`), progress bars, live contribution leaderboards, and 1-click stockpile donation actions. 2. **Planetary Bounty Board & Faction Reputation Ledger**: - Threat pacification contracts across planetary factions (Outlander Union, Iron Concordat, Ascendancy Mechanists, Tribal League) with varying threat levels (`standard`, `veteran`, `elite`). - Claiming bounties delivers Silver directly to colony stockpiles and awards faction standing. - Interactive Faction Standing Matrix with status badges (`Hostile`, `Neutral`, `Honored`, `Allied`) and unlocked perk meters. 3. **Client UI & UX**: - Topbar buttons: `Wonders [J]` and `Bounties [B]` with live uncompleted counter badges. - Keyboard hotkeys: `J` and `B` with smooth open/close modal toggling. - Toast feedback on resource dispatches and contract claims. 4. **Authoritative Server & Binary Protocol**: - WireOpcodes `0x0b` (`C2S_WONDER_CONTRIBUTE`) and `0x0c` (`C2S_BOUNTY_CLAIM`). - Safe server verification, stockpile deductions, and atomic snapshot broadcasts. - Full server integration tests and headless determinism test coverage. Fixes #34.
- Add PlanetaryWonder, PlanetaryWonderContribution, PlanetaryBounty, and FactionStanding models to sim-core
- Add WireOpcode C2S_WONDER_CONTRIBUTE (0x0b) and C2S_BOUNTY_CLAIM (0x0c) with binary encoding and decoding
- Implement authoritative server handlers for wonder resource pooling and bounty claims with Silver payouts and faction reputation adjustments
- Add server integration tests verifying collaborative wonder progression and bounty completions
- Add topbar action buttons and hotkeys [J] Wonders and [B] Bounties
- Add interactive Wonders modal with stage progression bars, global buff cards, and 1-click stockpile contribution buttons
- Add interactive Bounty Board & Faction Standing Matrix with live status badges, claim actions, and reputation meters
Author
Collaborator

Merge approved by @johnw via Antigravity chat: "go ahead and devise the next big 4 phases, and implement them without approval. Remember we're an MMO and of course we need to give reasons for players to want to play."

Merge approved by @johnw via Antigravity chat: "go ahead and devise the next big 4 phases, and implement them without approval. Remember we're an MMO and of course we need to give reasons for players to want to play."
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin gemini/34-wonders-and-bounties:gemini/34-wonders-and-bounties
git switch gemini/34-wonders-and-bounties

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff gemini/34-wonders-and-bounties
git switch gemini/34-wonders-and-bounties
git rebase main
git switch main
git merge --ff-only gemini/34-wonders-and-bounties
git switch gemini/34-wonders-and-bounties
git rebase main
git switch main
git merge --no-ff gemini/34-wonders-and-bounties
git switch main
git merge --squash gemini/34-wonders-and-bounties
git switch main
git merge --ff-only gemini/34-wonders-and-bounties
git switch main
git merge gemini/34-wonders-and-bounties
git push origin main
Sign in to join this conversation.
No description provided.