08-09-2020, 05:12 PM
(This post was last modified: 08-09-2020, 05:14 PM by Eric Piette.)
Hi,
With the current version, if you want to handle the 3 possibles cases (>, + and <) with specific results for some of them for the score (or any data like here in your example with the count of the pieces), you can do a sequence of 'If' tests for the different cases.
Something like
Regards,
Eric Piette
With the current version, if you want to handle the 3 possibles cases (>, + and <) with specific results for some of them for the score (or any data like here in your example with the count of the pieces), you can do a sequence of 'If' tests for the different cases.
Something like
Code:
(end
(if (....)
{
(if (> (score P1) (score P2)) (result P1 Win))
(if (< (score P1) (score P2)) (result P2 Win))
}
(result Mover Win)
)
)
Regards,
Eric Piette