e2e: a restart swaps Colors between the Seats #196
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#194 e2e: resignation, and a reload that preserves the Seat
amaurycoudr/chess-project
#195 e2e: a draw Offer answered by the opponent
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#191
What to build
Two Players restart in the same Room after a Game ends, and their Colors swap between the Seats.
Once the Game is over the offer control reads "Play again", making the next step obvious. Accepting it replaces the Game while the Room, its Room code and both Seats persist — which is the whole reason a Room outlives a Game. The Colors swapping is the subtle part, and the easiest thing for a refactor to break silently.
The cheapest way to reach an ended Game is a resignation, and the offer answering flow is the draw slice's; hence both dependencies.
Acceptance criteria
mentioned in issue #194
mentioned in issue #195
marked this issue as related to #194
marked this issue as related to #195
mentioned in commit
37f842b25e