Skip to content

PGN move parsing #10

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

PGN move parsing #10

wants to merge 2 commits into from

Conversation

mdab121
Copy link

@mdab121 mdab121 commented Oct 22, 2016

I've added PGNMove struct (representable by string) as well as parsing PGN Moves.

You can now use this API as this:
game.execute(move: "NF3") game.execute(move: "O-O") game.execute(move: "exd5") game.execute(move: "d8=Q+")

Parsing is one way for now – you can only apply text moves to a game.

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