Skip to content

Implement Match Pause and Resume for Extended Games #952

Description

@famvilianity-eng

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions