Ludii Forum
Specify type of Threatened - 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: Specify type of Threatened (/showthread.php?tid=1546)



Specify type of Threatened - Chrrristof - 04-16-2023

It would be nice to have the option to specify 'Threatened', so that it only takes certain  attack moves into account.

And to have a similar Ludeme 'Defended' or 'Covered' to see if a piece is 'under attack' by friendly pieces.

This would make it easier to implement 'hard cover' (in which attacking a covered piece can be forbidden under certain circumstances) and supporting your own attacks (like in Diplomacy).


RE: Specify type of Threatened - Eric Piette - 04-18-2023

Hi,

You should have a look at the ludeme (is Threatened ...) used often in Chess games.

Regards,
Eric