Hi,
Nice work.
You don't need the second win test do you? If a player has no pieces then that should be caught by the "no moves" test. So this might suffice:
Note that you could have hidden some code in the redundant "no pieces" test by using one of our known defines:
Regards,
Cameron
Nice work.
You don't need the second win test do you? If a player has no pieces then that should be caught by the "no moves" test. So this might suffice:
Code:
(end { (if (no Moves Next) (result Next Win)) })
Note that you could have hidden some code in the redundant "no pieces" test by using one of our known defines:
Code:
(if ("NoPiece" Mover) (result Mover Win))
Regards,
Cameron