mantimon-tcg/frontend
Claude c430a43e19
Add configurable bench size based on RulesConfig
Extends the RulesConfig support in the frontend game board to also
honor the bench.max_size setting:

- Add benchSize option to LayoutOptions interface
- Update calculateLandscapeLayout to use configurable bench count
- Update calculatePortraitLayout to use configurable bench count
- Update StateRenderer to pass benchSize from rules_config.bench.max_size
- Add benchSize computed property to game store
- Add 7 tests for configurable bench size behavior

The layout now generates the correct number of bench slots based on
the rules config (defaults to 5 for backwards compatibility). Bench
slots remain horizontally centered regardless of count.

https://claude.ai/code/session_01AAxKmpq2AGde327eX1nzUC
2026-02-02 09:28:17 +00:00
..
project_plans Add Phase F4 live gameplay project plan 2026-02-01 20:52:20 -06:00
public Add Phaser game asset placeholders 2026-02-01 20:51:35 -06:00
src Add configurable bench size based on RulesConfig 2026-02-02 09:28:17 +00:00
.env.development Add dev-server skill and update development ports 2026-01-30 11:56:25 -06:00
.env.production Add environment config and Vue Router with guards (F0-003, F0-008) 2026-01-30 10:59:04 -06:00
.gitignore Add F3 demo page with real card data and fix Phaser initialization 2026-01-31 21:58:26 -06:00
CLAUDE.md Add environment config and Vue Router with guards (F0-003, F0-008) 2026-01-30 10:59:04 -06:00
eslint.config.js Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
index.html Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
package-lock.json Implement frontend phases F1-F3: auth, deck management, Phaser integration 2026-01-31 15:43:56 -06:00
package.json Implement frontend phases F1-F3: auth, deck management, Phaser integration 2026-01-31 15:43:56 -06:00
postcss.config.js Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
PROJECT_PLAN_FRONTEND.json Update frontend project plan progress 2026-02-01 20:51:19 -06:00
README.md Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
tsconfig.app.json Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
tsconfig.json Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
tsconfig.node.json Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00
vite.config.ts Update Vite config for test environment 2026-02-01 20:51:12 -06:00
vitest.config.ts Scaffold Vue 3 + TypeScript frontend (Phase F0) 2026-01-30 09:23:53 -06:00

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.