Files
soroban-abacus-flashcards/apps/web
Thomas Hallock d0a8fcdea6 fix(rithmomachia): implement proper board cropping and highlighting in guide
Fixed all guide section board visualizations to use correct props:
- Replaced non-existent `cropToSquares` prop with `cropArea` object
- Added `highlightSquares` prop for yellow highlighting of piece squares
- Created `squaresToCropArea()` helper function in each section
- Updated all examples in CaptureSection (6 examples)
- Updated all examples in HarmonySection (3 examples)
- Updated pyramid example in PiecesSection
- Updated victory example in VictorySection

Board examples now properly display:
✓ Cropped to relevant squares only
✓ Yellow highlighting on squares with pieces
✓ Proper coordinate labels

This matches the original guide design shown in the reference image.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 19:59:09 -05:00
..
2025-10-11 07:17:38 -05:00
2025-10-11 07:17:38 -05:00
2025-10-11 07:17:38 -05:00
2025-10-11 07:17:38 -05:00
2025-10-11 07:17:38 -05:00
2025-10-11 07:17:38 -05:00