Mantimon TCG - Monster collecting trading card game
Go to file
Cal Corum 69daedfa02 Add Board tests - TEST-003 complete (55 tests)
Comprehensive testing of Board game object covering:
- Zone creation and layout management (with/without prizes)
- Zone highlighting (single, bulk, clear)
- Coordinate queries and hit detection
- Layout updates and resize handling
- Cleanup and lifecycle management

All tests passing (1,337 total, +55)

Test coverage:
- Constructor and initialization (3 tests)
- setLayout() zone rendering (7 tests)
- getLayout() retrieval (3 tests)
- highlightZone() single zone highlighting (6 tests)
- highlightAllZones() bulk highlighting (4 tests)
- clearHighlights() reset (3 tests)
- getZonePosition() queries (4 tests)
- isPointInZone() hit detection (4 tests)
- getZoneAtPoint() zone lookup (4 tests)
- destroy() cleanup (5 tests)
- createBoard() factory (3 tests)
- Integration scenarios (4 tests)
- Edge cases (5 tests)

Enhanced Phaser mocks:
- Added lineBetween() method to MockGraphics
- Added cameras property to test setup

Status: TEST-003 marked complete in project plan

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 15:45:36 -06:00
.claude Add lessons learned README for frontend POC 2026-01-31 22:06:10 -06:00
backend Honor RulesConfig for prize cards vs points in frontend game board 2026-02-02 09:22:44 +00:00
docs Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
frontend Add Board tests - TEST-003 complete (55 tests) 2026-02-03 15:45:36 -06:00
.gitignore Archive frontend POC to .claude/frontend-poc/ 2026-01-31 22:00:51 -06:00
CLAUDE.md Add project-specific skills reference to CLAUDE.md 2026-01-31 15:40:37 -06:00
CONTRIBUTING.md Fix prize zone rendering in Mantimon TCG mode (#2) 2026-02-02 15:30:27 -06:00
PROJECT_PLAN.md Add RPG campaign structure inspired by GBC Pokemon TCG 2026-01-24 18:22:36 -06:00
test-prize-fix.md Fix prize zone rendering in Mantimon TCG mode (#2) 2026-02-02 15:30:27 -06:00
TESTING.md Fix prize zone rendering in Mantimon TCG mode (#2) 2026-02-02 15:30:27 -06:00
verify-fix.sh Fix prize zone rendering in Mantimon TCG mode (#2) 2026-02-02 15:30:27 -06:00
VISUAL-TEST-GUIDE.md Fix prize zone rendering in Mantimon TCG mode (#2) 2026-02-02 15:30:27 -06:00

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.