Problem Statement
Currently, the move history is visible in the UI but cannot be easily copied for sharing or analysis. Users have to manually select and copy moves, which is inconvenient and inconsistent across devices (especially mobile).
Proposed Solution
Add a "Copy" button in the Move History section that allows users to copy the full move list to the clipboard in a clean, readable format.
- Extract move history from existing DOM/state
- Format moves as a standard string (e.g., "1. e4 e5 2. Nf3 Nc6 ...")
- Use
navigator.clipboard.writeText() for copying
- Provide simple feedback (e.g., "Copied!" message or temporary button state)
Alternatives Considered
- Download move history as a file (similar to PGN export) ,but this adds more complexity and overlaps with existing/planned features.
- Manual selection and copy already possible but not user-friendly, especially on mobile devices.
The copy button provides a lightweight and immediate solution.
Additional Context
This is a small UX enhancement that improves usability of the existing move history without modifying game logic or backend behavior.
It aligns well with current UI/UX improvements and can be implemented as a minimal, frontend-only change.
Problem Statement
Currently, the move history is visible in the UI but cannot be easily copied for sharing or analysis. Users have to manually select and copy moves, which is inconvenient and inconsistent across devices (especially mobile).
Proposed Solution
Add a "Copy" button in the Move History section that allows users to copy the full move list to the clipboard in a clean, readable format.
navigator.clipboard.writeText()for copyingAlternatives Considered
The copy button provides a lightweight and immediate solution.
Additional Context
This is a small UX enhancement that improves usability of the existing move history without modifying game logic or backend behavior.
It aligns well with current UI/UX improvements and can be implemented as a minimal, frontend-only change.