11-02-2020, 09:08 PM
(07-31-2020, 03:18 PM)ccxvii Wrote: This is my first test program, that defines a "Queen" piece and its moves as Shared, but results in no possible moves:
Code:(game "Test Shared Pieces"
(players 2)
(equipment
{
(board (rectangle 8 4))
(piece "Queen" Shared (move Slide))
}
)
(rules
(start
{
(place "Queen" {"D2" "D1" "C1"})
(place "Queen" {"A8" "B8" "A7"})
}
)
(play (forEach Piece))
(end (if (no Moves Next) (result Mover Win)))
)
)
Hey, has this ever been cleared up? I have the same problem (wanting to define pieces that each of the players can control in their turn). I tried the above logic with several roletypes (All, Neutral, Shared, Any, Mover) in the Language Reference Document but none of them seems to work.Thanks