08-11-2020, 06:36 AM
(This post was last modified: 08-11-2020, 06:37 AM by Eric Piette.)
Hi,
Here an example of the code to do what you describe in your 6 steps. FYI, I did not include the end rules
Regards,
Eric
Here an example of the code to do what you describe in your 6 steps. FYI, I did not include the end rules
Code:
(play
(do (roll)
next:(move
(from
(if
(is Mover Prev)
(sites {(last From)})
(sites Mover)
)
if:(> (count at:(from)) 0)
)
(to
(trackSite Move steps:(count Pips) )
)
(then
(if (not (is Empty (last From)))
(moveAgain)
)
)
)
)
)
Regards,
Eric