Ludii Forum
Problem Mapping Roles to Roles? - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Ludii Player Problems (https://ludii.games/forums/forumdisplay.php?fid=6)
+--- Thread: Problem Mapping Roles to Roles? (/showthread.php?tid=344)

Pages: 1 2


RE: Problem Mapping Roles to Roles? - dale walton - 01-05-2021

Thanks, I was looking for was Previous mover according to standard turn order. - Which I found a way to do which worked with enough ludemes to solve my problem

However, your solution is good- it should handle most of the need for that, as well as have other direct uses.

What about the (sites Occupied by:NonMover component:"Hex") issue

I think the below works and is not too long but seems a cludge compared to the above that looks like it is supposed to work:
(intersection (sites Occupied by:All component:"Hex") (sites Occupied by:NonMover))

Should be the same forĀ  Team1 and other roles as well...


RE: Problem Mapping Roles to Roles? - Eric Piette - 01-05-2021

See the other thread about RoleType.