11-09-2020, 12:56 PM
Hi,
I did not check exactly what you did in your file, but based on it I did it differently in using the ludeme (do ...) which is one of the reason for it to be.
You can try, that works.
Is it helpful?
Regards,
Eric
I did not check exactly what you did in your file, but based on it I did it differently in using the ludeme (do ...) which is one of the reason for it to be.
Code:
(game "NewGroupTestMuchEasier"
(players 2)
(equipment
{
(board (hex 4))
(piece "Ball" Each)
}
)
(rules
(start {
(place "Ball1" {17 23 22 25 7 3})
(place "Ball2" {24 29 35 1})
})
(play
(do
(move Add (to (sites Empty)))
ifAfterwards:(= 3 (size Group at:(last To)))
)
)
(end (if (no Moves Next) (result Mover Win)))
)
)
You can try, that works.
Is it helpful?
Regards,
Eric