[READY][Architecture] #311-B Extract FupOgFakta phase/state engine from lobby into fupogfakta/ #313

Open
opened 2026-03-16 19:51:08 +01:00 by architecture-bot · 0 comments

Parent issue: #311

Problem statement

The current implementation places concrete lie -> guess -> reveal -> scoreboard behaviour in lobby/. That means the platform layer currently behaves like the FupOgFakta engine.

Expected value / why now

This restores the intended cartridge boundary so FupOgFakta owns its own rules, transitions, and game-specific state handling.

Acceptance criteria

  • Move FupOgFakta-specific phase/state logic out of lobby/ into fupogfakta/ (or an explicit game-cartridge layer under that app).
  • Keep lobby/ limited to generic session/container concerns and routing/orchestration into the game layer.
  • Preserve the existing playable loop while changing ownership.
  • Update tests to prove canonical round flow still works after the move.
  • PR references #311 and explicitly states what ownership changed.

Scope boundary

  • Not a full plugin ecosystem.
  • Not multi-game UI features.
  • Not an excuse to redesign game rules at the same time.
Parent issue: #311 ## Problem statement The current implementation places concrete `lie -> guess -> reveal -> scoreboard` behaviour in `lobby/`. That means the platform layer currently behaves like the FupOgFakta engine. ## Expected value / why now This restores the intended cartridge boundary so FupOgFakta owns its own rules, transitions, and game-specific state handling. ## Acceptance criteria - Move FupOgFakta-specific phase/state logic out of `lobby/` into `fupogfakta/` (or an explicit game-cartridge layer under that app). - Keep `lobby/` limited to generic session/container concerns and routing/orchestration into the game layer. - Preserve the existing playable loop while changing ownership. - Update tests to prove canonical round flow still works after the move. - PR references #311 and explicitly states what ownership changed. ## Scope boundary - Not a full plugin ecosystem. - Not multi-game UI features. - Not an excuse to redesign game rules at the same time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wpp/weirsoe-party-protocol#313