Wynd is a system of connection games that originated as a generalization of Mark Steere's Gyre. It includes Y as one of its many variations. I have implemented it in Ludii with many exciting options.
There is a problem, though, and I don't understand it. The pie rule simply doesn't work. Nothing happens when I try to swap. And the AI just hangs if swap is enabled.. If this is fixed, Luis would be glad to have the game included in Ludii.
Also: If someone knows of a way to check for the win condition more efficiently, I'd be happy to change the script. This is the current code:
The problem is that I want (result) to include an entry for each group, but I don't know how to avoid duplicate entries. I just check the group of each relevant site, so many of those groups are the same group. Is it possible to avoid this?
There is a problem, though, and I don't understand it. The pie rule simply doesn't work. Nothing happens when I try to swap. And the AI just hangs if swap is enabled.. If this is fixed, Luis would be glad to have the game included in Ludii.
Also: If someone knows of a way to check for the win condition more efficiently, I'd be happy to change the script. This is the current code:
Code:
(>=
(count Sites in:("StarCells"))
(max
(results
from:(difference
(sites Board)
(sites Group at:(last To))
)
to:2
(* (to)
(count Sites
in:(intersection
("StarCells")
(sites Group at:(from)
if:(not
(is In
(to)
(sites Group
at:(last To)
)
)
)
)
)
)
)
)
)
)