(11-17-2020, 12:46 PM)Eric Piette Wrote: Hi,Yes.
Sorry not exactly sure of your last question.
Correct me if that's wrong:
you want to
"Count the number of owned pieces in the directions N, S, E, W, U, D from a specific site"
?
Regards,
Eric
Actually, I want to do something even more complicated.
If the empty (to) site from which the directions for counting is made is in a region owned by the Mover, then add 1 to the count.
Qua is a connection game and the larger goal is to connect the 2 regions owned by a player. When the empty (to) site is on one of the faces of the cube owned by the Mover, the Mover can connect 1 of its owned pieces to the owned “board face” region instead of another owned piece.
I believe this can be done using an “(or ...)” operator in the “if”condition?
Best Regards,
Woody
Woody