Ludii Forum
Pending Piece? - 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: Pending Piece? (/showthread.php?tid=281)



Pending Piece? - slimy_asparagus - 11-25-2020

I seem to have managed to get a very vanilla usage of "set Pending" to work without having to ask for help. Hurrah!

I am thinking ahead and I will need some further Pending-like behaviour much further down the line. Each player would have Pending flags associated with two pieces, as their properties in the opponent's turn depend on how they were used in the previous turn. However there does not seem to be a way of attaching a Pending state to a piece per se.

However you can attach a Pending state to a site as I understand it. I could associate certain sites with certain pieces and as far as I can see this would work fine, although it is a terrible and unnatural hack. So I do not need "pending piece" functionality but I would certainly use it if it was available.


RE: Pending Piece? - Eric Piette - 11-25-2020

Hi,

You can set many sites in pending in the same time in using the ludeme (set Pending ...) and access them with the ludeme (sites Pending).

Regards,
Eric