Skip to content

docs: fix README.md for get all moves#81

Merged
CorentinGS merged 1 commit intoCorentinGS:mainfrom
debug-ing:main
Dec 12, 2025
Merged

docs: fix README.md for get all moves#81
CorentinGS merged 1 commit intoCorentinGS:mainfrom
debug-ing:main

Conversation

@debug-ing
Copy link
Contributor

Fix incorrect example in README.md for detecting the castling color.
Updated the sample code to use game.Moves() instead of game.MoveHistory() and correctly access the current position and tags.

@debug-ing
Copy link
Contributor Author

cc: @CorentinGS

@CorentinGS CorentinGS merged commit cc2b8b7 into CorentinGS:main Dec 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants