10-09-2020, 03:10 AM
(This post was last modified: 10-09-2020, 03:12 AM by dale walton.)
I am trying to implement a game in which, if a player is forced (priority move) to move into a situational repeat, they are given an extra turn.
In this game, situational repeats are not allowed at all for a non-priority move.
I would like to know how and when the situational noRepeat is tested and functions, and whether there is a boolean that can test for a situational repeat position instead of relying on the mode.
For example if in a situational NoRepeat, I test for (no Moves Mover) and then supply a move, in theory this branch will never be selected, because it supplies a move (self-referentially, then the condition is always false)
Perhaps the game could be modified to use a noRepeat Infinite rule, if this prevents the player setting up the forced move, as opposed to merely preventing the moving player from fulfilling the priority, and instead dropping back to the non-priority. Which way does it currently work?
That is I would need (priority...<moves>) to take precedence over infinite Repete mode, not infinite repeate mode to take precedence over (priority...<moves>)
However, a boolean (is Situational Repeat) would give more versatile control for this...
In this game, situational repeats are not allowed at all for a non-priority move.
I would like to know how and when the situational noRepeat is tested and functions, and whether there is a boolean that can test for a situational repeat position instead of relying on the mode.
For example if in a situational NoRepeat, I test for (no Moves Mover) and then supply a move, in theory this branch will never be selected, because it supplies a move (self-referentially, then the condition is always false)
Perhaps the game could be modified to use a noRepeat Infinite rule, if this prevents the player setting up the forced move, as opposed to merely preventing the moving player from fulfilling the priority, and instead dropping back to the non-priority. Which way does it currently work?
That is I would need (priority...<moves>) to take precedence over infinite Repete mode, not infinite repeate mode to take precedence over (priority...<moves>)
However, a boolean (is Situational Repeat) would give more versatile control for this...