Export a stored Game as PGN, with the result of a Resignation or an agreed Draw #377
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.
Blocks
Depends on
#378 Accounts and Sessions on the wire: sign up, sign in, sign out and refresh behind the guard
amaurycoudr/chess-project
#375 Game page: read a stored Game by its link and copy the link
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#377
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
#355
What to build
Game.pgnin the engine takes a result token from its caller, for endings that Status cannot express: a Resignation or an agreed Draw, which the engine never produces itself (ADR 0017). Without a result token, it derives the token from Status as it does today.The Game page gains "Export PGN". It builds the file in the browser from the line, with these tags:
The file is named after the Game's id. New strings go in English and French.
Seam: the front views (the Game view). The result override is tested at the engine barrel, in the existing PGN tests.
Acceptance criteria
1/2-1/2, and a Checkmate or other Draw matches its ending (story 20).mentioned in issue #378
mentioned in issue #355
mentioned in issue #375
marked this issue as related to #355
marked this issue as related to #375
marked this issue as related to #378
mentioned in merge request !515