Skip to content
New issue

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

Improve chess game #506

Merged
merged 7 commits into from
Jun 19, 2023
Merged

Improve chess game #506

merged 7 commits into from
Jun 19, 2023

Conversation

vinc
Copy link
Owner

@vinc vinc commented Jun 17, 2023

  • Add save command
  • Add load command
  • Add play command
  • Improve perf command output
  • Improve error output

chess-load

@vinc
Copy link
Owner Author

vinc commented Jun 17, 2023

The save format uses the standard Forsyth–Edwards Notation.

It would have been better to use the Portable Game Notation to save the history of the game but the chess engine requires std to load this format. I may modify the engine to use nom internally instead of regex to work with no_std at some point.

chess-hex

The perf chess command uses the same kind of output as the hex shell command.

chess-perf

@vinc vinc marked this pull request as ready for review June 17, 2023 13:05
@vinc vinc merged commit 92bb9f7 into trunk Jun 19, 2023
@vinc vinc deleted the feature/chess-output branch June 19, 2023 19:00
@vinc vinc mentioned this pull request Jun 20, 2023
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.

1 participant