Ludii Forum
Show Repeated Position Moves - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Ludii Features / Services (https://ludii.games/forums/forumdisplay.php?fid=11)
+--- Thread: Show Repeated Position Moves (/showthread.php?tid=288)



Show Repeated Position Moves - dale walton - 11-26-2020

The user can currently see available selections / moves and last move.  Is it possible to add a feature to show those moves that lead to repeat positions for those games that allow repeat positions, but check for them? and also as a warning tool for games that don't allow repeats, so that a person not using show moves could still choose to see if there are any apparently legal moves that are actually banned do to a repeat condition.


RE: Show Repeated Position Moves - cambolbro - 11-26-2020

Hi,

The first request -- to highlight moves that would lead to a previously visited state -- should be doable. We'll look into adding this feature.

The second request -- to highlight non-existent moves eliminated due to repetition -- might also be feasible, if we maintain a list of candidate moves eliminated by the (meta (noRepeat)) ludeme. I'm not sure how useful this would actually be, to highlight moves that don't exist, but we'll look into it as well.

Regards,
Cameron


RE: Show Repeated Position Moves - MatthewStephenson - 11-26-2020

Hi Dale,

We have added this feature to Ludii. It will be included in the next release.

The option will be available under View -> Show Repetitions

When this option is enabled, legal moves that would result in a state repetition are shown as green arrows/dots, while illegal ones are shown in red.

Please note that having this option on significantly impacts the speed of loading trials, and of undoing moves.

Cheers,
Matthew


RE: Show Repeated Position Moves - dale walton - 11-26-2020

Thanks. If it is too heavy for actual users, it still can be useful in design and testing games.