We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
g := chess.NewGame(chess.UseNotation(chess.UCINotation{})) pie(g.MoveStr("g1f3")) pie(g.MoveStr("e7e5")) fmt.Println(g.String()) // 1. g1f3 e7e5 * pgn, err := chess.PGN(strings.NewReader(g.String())) if err != nil { panic(err) } g2 := chess.NewGame(chess.UseNotation(chess.UCINotation{}), pgn) fmt.Println(g2.String()) // 1. f2f3 e7e5 *
When decoding
chess/pgn.go
Line 168 in e9ff96c
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When decoding
chess/pgn.go
Line 168 in e9ff96c
Above example shows that it can cause invalid board state.
The text was updated successfully, but these errors were encountered: