11-24-2020, 06:51 AM
(This post was last modified: 11-24-2020, 07:46 AM by dale walton.)
In the attached experimental game under development, I wanted to treat a repeat position like a pass for the end game position.
I used:
(define "Finished"
(or
(all Passed)
(and
(was Pass)
(is Repeat InGame)
)
)
)
To define my end condition.
I did not specify anything else about repeats in the game -- no meta rule for example.
In a trial also supplied, the game ends after a single pass, with what appears to be a forced pass, as no moves are shown as permitted. However If I comment out the define and use (all Passed) instead, the trial shows several moves are still available. The position is not a repeated position. Thus I surmise that this is a bug or that I am misusing the (is Repeat) ludeme.
I've been running the game with all Passed instead and on a long run of around 200 moves, I am seeing missed placement locations. -- so it could have to do with the definition of the add move / LineOfSight as well or instead.
I used:
(define "Finished"
(or
(all Passed)
(and
(was Pass)
(is Repeat InGame)
)
)
)
To define my end condition.
I did not specify anything else about repeats in the game -- no meta rule for example.
In a trial also supplied, the game ends after a single pass, with what appears to be a forced pass, as no moves are shown as permitted. However If I comment out the define and use (all Passed) instead, the trial shows several moves are still available. The position is not a repeated position. Thus I surmise that this is a bug or that I am misusing the (is Repeat) ludeme.
I've been running the game with all Passed instead and on a long run of around 200 moves, I am seeing missed placement locations. -- so it could have to do with the definition of the add move / LineOfSight as well or instead.