Mantimon TCG - Monster collecting trading card game
Documentation updates after completing quick wins 1-2: Progress: - Tests: 1000 → 1045 (+45, +4.5%) - Coverage: 63% → ~65% (+2%) - Quick wins completed: 2/3 - Hours spent: ~4 hours - TEST-015 (CardBack): 25 tests, ~95% coverage - TEST-020 (Socket factories): 20 tests, 100% coverage Key Lessons Learned: 1. Phaser mocking pattern - mock classes inside vi.mock() factory 2. Disable ESLint explicit-any for complex Phaser mocks 3. Test docstrings are essential for maintainability 4. Always verify actual dimensions/constants before asserting 5. Include integration tests for full object lifecycle 6. Factory function testing strategy (structure, uniqueness, variations) 7. Avoid testing browser internals (crypto, etc) 8. Pre-commit hooks catch everything - working perfectly 9. Quick wins build momentum - start simple 10. Coverage updates automatically after tests added Updated PROJECT_PLAN_TEST_COVERAGE.json: - Mark TEST-015 and TEST-020 as completed - Add progress tracking metadata - Update current coverage estimate |
||
|---|---|---|
| .claude | ||
| backend | ||
| docs | ||
| frontend | ||
| .gitignore | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| PROJECT_PLAN.md | ||
| test-prize-fix.md | ||
| TESTING.md | ||
| verify-fix.sh | ||
| VISUAL-TEST-GUIDE.md | ||
Mantimon TCG Documentation
Active Documentation
| File | Description |
|---|---|
ARCHITECTURE.md |
Technical architecture overview covering frontend (Vue+Phaser), backend (FastAPI), database schema, real-time communication, game engine design, and offline fork considerations. |
GAME_RULES.md |
Game rules document defining campaign structure, base ruleset, energy system, deck building, win conditions, turn structure, card types, and status conditions. |
Legacy Documentation
Historical documents from completed development phases, preserved for reference.
| File | Description |
|---|---|
legacy/SYSTEM_REVIEW.md |
Comprehensive code review of the core game engine (Jan 2026). Identified 15 issues across models, effects, and engine - all resolved. 826 tests passing. |
legacy/PROJECT_PLAN_ENERGY_EVOLUTION.md |
Implementation plan for energy/tool attachment refactor and evolution stack system. Changed attached_energy/attached_tools from list[str] to list[CardInstance]. Completed Jan 2026. |