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

Support full move numbers without dots (old Descriptive) #6

Open
marianogappa opened this issue Jul 24, 2019 · 0 comments
Open

Support full move numbers without dots (old Descriptive) #6

marianogappa opened this issue Jul 24, 2019 · 0 comments

Comments

@marianogappa
Copy link
Owner

Currently, this format is parsed properly:

1. g4+  hxg4+ 
2. Kg3  Kg6 
3. Kxg4 Kh6 
4. Kf5  Kh5 
5. Ke5  Kxh4 
6. Kd5  Kg5 
7. Kc5  Kf6 
8. Kxb5 Ke7 
9. Kc6  Kd8 
10. Kb7 Kd7 
11. b5 

This one also works

g4+  hxg4+ 
Kg3  Kg6 
Kxg4 Kh6 
Kf5  Kh5 
Ke5  Kxh4 
Kd5  Kg5 
Kc5  Kf6 
Kxb5 Ke7 
Kc6  Kd8 
Kb7 Kd7 
b5 

But this one fails

1 g4+  hxg4+ 
2 Kg3  Kg6 
3 Kxg4 Kh6 
4 Kf5  Kh5 
5 Ke5  Kxh4 
6 Kd5  Kg5 
7 Kc5  Kf6 
8 Kxb5 Ke7 
9 Kc6  Kd8 
10 Kb7 Kd7 
11 b5 

Old Descriptive format sometimes omits the dots. Since Descriptive -> Algebraic is the most common use case for the converter, it should support this format.

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

No branches or pull requests

1 participant