11-19-2020, 08:03 AM
Hi Nicholas,
Thanks for that example.
The step move is not, in its current stage, able to move a piece in the middle of a stack in specifying a level in the from value. But it should. Consequently, I just implemented the small update to be able to do that. That's now working in our dev version. And will be published in the next release.
Consequently, your description is correct to do what you expect, unfortunately that case was not implemented and used in any game before.
However, this is already implemented for the (move ...) ludeme, so maybe now I understand why you wanted to rewrite the step with a (move ...)
Here the equivalent description of the define used in the .lud but with the equivalent (move ...).
You can try with the version 1.1.1, that's should work.
However, when you will drag the bottom yellow piece, the GUI will drag the full stack but when you will select the site to go, the correct move is applied. The GUI is not my domain, I warned Matthew about that dragging issue to see if he can do something for that.
If you have another issue, please use the same process with another .lud and a question, that's easier for me to understand and investigate in the problem :) Thanks!
Regards,
Eric
Thanks for that example.
The step move is not, in its current stage, able to move a piece in the middle of a stack in specifying a level in the from value. But it should. Consequently, I just implemented the small update to be able to do that. That's now working in our dev version. And will be published in the next release.
Consequently, your description is correct to do what you expect, unfortunately that case was not implemented and used in any game before.
However, this is already implemented for the (move ...) ludeme, so maybe now I understand why you wanted to rewrite the step with a (move ...)
Here the equivalent description of the define used in the .lud but with the equivalent (move ...).
Code:
(define "MoveWithinBoard"
(move
(from (from) level:(level))
(to (intersection (sites Around (from)) (sites Outer)))
)
)
You can try with the version 1.1.1, that's should work.
However, when you will drag the bottom yellow piece, the GUI will drag the full stack but when you will select the site to go, the correct move is applied. The GUI is not my domain, I warned Matthew about that dragging issue to see if he can do something for that.
If you have another issue, please use the same process with another .lud and a question, that's easier for me to understand and investigate in the problem :) Thanks!
Regards,
Eric