Open gyermolenko opened 2 years ago
Thanks for the feedback! I agree, I don't think it's clear what you need to set on the input.
Does it make sense to accept all of the following inputs (e.g for your second example)?:
I think skipping first square (where knight is at) is a good idea.
For dashes vs commas I think it is best to :
to not pay attention to spaces when possible (h7,f6
equals h7, f6
or h7-f6
equals h7 -f6
whatever separator is used)
If UI form change can be also considered -- here is another suggestion.
a1
[ ]
c1
or
a1
[ ]
[ ]
d3
Although it contradicts the task of fitting path into "max steps" and asks for solutions with exact number of steps
"Find the checks exercise" has similar nuance of notation but in a way it is completely different. For it I would expect regular algebraic notation for a move to be accepted. As opposed to a knight path where series of moves do not have standard notation and new one needs to be invented.
Example: White: Qa4 Black: Kc3 Rg5
g5 ⟹ f2
Here at first I thought it asks for a square name only. In cases like that if commas and dashes have special meaning (and not an not in pure algebraic notation) maybe messaging can improved.
Another example: h7 ⟹ d5
here I didn't put space between a square and dash.