Implement Match Pause and Resume for Extended Games
Priority: Medium
Estimated Time: 2 hours
Description
Long chess matches (simuls, blindfold) may span multiple days. The escrow contract should support pausing matches without losing stake or state.
Tasks
- Add
Paused state to match lifecycle
- Implement
pause_match(env, match_id) — either player, sets match to Paused
- Implement
resume_match(env, match_id) — either player, sets match back to Active
- Update timeout calculation to exclude pause duration
- Add tests for pause/resume cycle
Auto-created from UNSOLVED_ISSUES_40.md
Implement Match Pause and Resume for Extended Games
Priority: Medium
Estimated Time: 2 hours
Description
Long chess matches (simuls, blindfold) may span multiple days. The escrow contract should support pausing matches without losing stake or state.
Tasks
Pausedstate to match lifecyclepause_match(env, match_id)— either player, sets match toPausedresume_match(env, match_id)— either player, sets match back toActiveAuto-created from UNSOLVED_ISSUES_40.md