It seems to me like the "state:" argument in (piece) simply doesn't work. Or, worse, trying to use it can break the Ludii player.
Trying to make a simple test to show that it does nothing, I modified Tic-Tac-Toe like this:
But the player simply didn't allow me to input any moves when I compiled it.
Trying to make a simple test to show that it does nothing, I modified Tic-Tac-Toe like this:
Code:
(game "Tic-Tac-Toe"
(players 2)
(equipment {
(board (square 3))
(piece "Disc" P1 maxState:1)
(piece "Cross" P2 maxState: 1)
})
(rules
(play
(move Add
(piece (mover) state:1)
(to (sites Empty))
)
)
(end ("Line3Win"))
)
)