I have attached a .lud where one can move neutral pieces closer to the central cell, and this "transforms" them into non-neutral pieces. The bug is the following:
Even though <from> is set to (sites Occupied by:Neutral), in some cases Ludii allows the player to move from a cell not occupied by a neutral piece. Try moving one step inward from the ring next to the outer ring. What happens is that the next player is allowed to move from the non-neutral piece you just "created".
Here is an image of the situation (the grey circles are neutral pieces):
![[Image: pic5794855.png]](https://cf.geekdo-images.com/K32eDUS5iWVEFsye5-IPAw__original/img/OIKLjdPmhREJjxiL3gQeMXan3cI=/0x0/pic5794855.png)
Edit: If I use (forEach (sites Board) if:(= 0 (who at:(site)))) instead of (sites Occupied by:Neutral) the problem disappears.
Even though <from> is set to (sites Occupied by:Neutral), in some cases Ludii allows the player to move from a cell not occupied by a neutral piece. Try moving one step inward from the ring next to the outer ring. What happens is that the next player is allowed to move from the non-neutral piece you just "created".
Here is an image of the situation (the grey circles are neutral pieces):
![[Image: pic5794855.png]](https://cf.geekdo-images.com/K32eDUS5iWVEFsye5-IPAw__original/img/OIKLjdPmhREJjxiL3gQeMXan3cI=/0x0/pic5794855.png)
Edit: If I use (forEach (sites Board) if:(= 0 (who at:(site)))) instead of (sites Occupied by:Neutral) the problem disappears.