Extends RulesConfig support in the frontend game board to conditionally render energy deck zones based on deck.energy_deck_enabled setting. When disabled (classic mode), energy zones are null and omitted from the layout, saving screen space. Changes: - Add energyDeckEnabled option to LayoutOptions interface - Update landscape/portrait layouts to conditionally generate energy zones - Make myEnergyZone/oppEnergyZone nullable in BoardLayout type - Update StateRenderer to conditionally create and update energy zones - Add energyDeckEnabled computed property to game store - Add 7 tests for conditional energy deck rendering https://claude.ai/code/session_01AAxKmpq2AGde327eX1nzUC |
||
|---|---|---|
| .. | ||
| api.ts | ||
| game.spec.ts | ||
| game.ts | ||
| index.ts | ||
| phaser.ts | ||
| rules.ts | ||
| vue-router.d.ts | ||
| ws.spec.ts | ||
| ws.ts | ||