move Hop ignoring restrictions on "from"? - Printable Version +- Ludii Forum (https://ludii.games/forums) +-- Forum: Questions (https://ludii.games/forums/forumdisplay.php?fid=13) +--- Forum: About the Ludii Grammar (https://ludii.games/forums/forumdisplay.php?fid=15) +--- Thread: move Hop ignoring restrictions on "from"? (/showthread.php?tid=320) |
move Hop ignoring restrictions on "from"? - slimy_asparagus - 12-07-2020 I the attached test code I am puzzled why the 3rd move works in the following sequence: Code: 1. (1) (Move E6-C6) I think the following (from) clause should prevent this movement. Code: (from RE: move Hop ignoring restrictions on "from"? - Eric Piette - 12-07-2020 Hi, Yes the BooleanFunction in the (from ...) ludeme inside some moves is maybe not always implemented, I will add it. However you can use the condition on the (from) site in the (between ...) that should work in the same way (the (from) is set before the (between) or the (to) in all the ludemes). Regards, Eric RE: move Hop ignoring restrictions on "from"? - slimy_asparagus - 12-09-2020 (12-07-2020, 02:36 PM)Eric Piette Wrote: Hi, Eric, Thanks I got this between fix to work. I look forward to the update. Would you like me to report more gaps like this? RE: move Hop ignoring restrictions on "from"? - Eric Piette - 12-14-2020 Hi, Yes, any bugs or missing implementation you can find are really useful for me to look for them and fix/implement them. Regards, Eric |