Ludii Forum
Bug related to neutral pieces - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Grammar Problems (https://ludii.games/forums/forumdisplay.php?fid=24)
+--- Thread: Bug related to neutral pieces (/showthread.php?tid=933)



Bug related to neutral pieces - Michael - 04-21-2022

If you run a random playout of the attached game, then test the Ludeme (sites Occupied by:Neutral), you will find that the region returned does not match what you can see on the board.

(Also: I thought the shared piece was referenced by "pieceNameN", where N is the number of players + 1. So "pieceName3" for 2-player games. This does not seem to be the case. Am I simply mistaken? The reason I ask, is because, when I try to place "Disc3" in the start-rules, I get the warning "Item 'Disc3' is numbered 3 but only 2 players.")


RE: Bug related to neutral pieces - Eric Piette - 04-28-2022

Hi,

I just tried what you say with (sites Occupied by:Neutral) and I got the correct result each time, so I can't replicate your issue.

For the "pieceNameN" the rule is
Neutral: N = "0"
P1 to P16: N = "1" to "16"
Shared: N = ""

So to sum up your question
Shared pieces are just "pieceName"

Eric