-
Couldn't load subscription status.
- Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Issue/Improvement
Documentation today states:
- Castling notation can be written with both
0andO
- Valid example:
0-0-0orO-O- When
Castlingturn is printed out, it will be printed with0
notation
The second part of the second bullet, where our library always prints out with 0 character sounds like a limitation.
What we should do is:
- when Castling
Turnis constructed with0character, printout (display) of such turn should use the same0character. - in case Castling
Turnis constructed withOcharacter, then the printout (display) of such turn should use the sameOcharacter!
How
We could simply extend Castling struct to keep info about the original character which was used for the struct construction in try_from function.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers