Conditional Moves on Daily games

Sort:
Avatar of OCTOPUS_d6

Hey forum folks!

If I create Conditional Move with 3 steps and the OP moves as follows:

step 1 ... OP does as expected so step 1 is activated

step 2 ... OP does NOT do as expected so step 2 is ignored

step 3 ... OP does as expected so step 3 is activated

(OR)

Does step 2, since it fails, short-circuit the script so step 3 would also fail even if the OP performs step 3?

I'd test it myself but I'm in the Daily game so I can't and it's the first time I've used Conditional Moves (which are ROCKIN' COOL by the way)!!!  Thank you for any input!

Avatar of lejoueurdechecs14

the chain stops as soon as one step is not followed

Avatar of OCTOPUS_d6

Thank you so much!!!

Avatar of OCTOPUS_d6

One more question if I could ... so if I have two steps but the second step is to run later in the game, such as Qxf7, it won't work, correct, because it will short-circuit and all remaining steps will disappear from Conditional AFTER the first one works?

Avatar of Martin_Stahl
DavidWills99 wrote:

One more question if I could ... so if I have two steps but the second step is to run later in the game, such as Qxf7, it won't work, correct, because it will short-circuit and all remaining steps will disappear from Conditional AFTER the first one works?

Once your opponent deviates, the line is discarded.

Avatar of OCTOPUS_d6

Hi, @Martin_Stahl, so Conditional Moves cleans up after itself and all lines disappear! Now THIS is good script behavior! I have to say that Conditional Moves are far more sanitary (and safer) than Pre-Moves then! Thank you. happy

Avatar of OCTOPUS_d6

I noticed something @Martin_Stahl, when a Conditional move is triggered, does the Developer (player) appear on line (green square on their picture)? It just happened and it makes me curious. Maybe a coincidence or does the script require creator auth to run?

Avatar of OCTOPUS_d6

Are there any indicators or flags on Conditional script lines for identifying which moves were 'user generated' versus 'conditionally fired'? I think that would be valuable information for fine-tuning our scripting abilities with this tool.

Avatar of Pudding
DavidWills99 wrote:

I noticed something @Martin_Stahl, when a Conditional move is triggered, does the Developer (player) appear on line (green square on their picture)? It just happened and it makes me curious. Maybe a coincidence or does the script require creator auth to run?

The conditional move triggers whenever the opponent moves, regardless whether the setter is online of not.

Avatar of Pudding
DavidWills99 wrote:

Are there any indicators or flags on Conditional script lines for identifying which moves were 'user generated' versus 'conditionally fired'? I think that would be valuable information for fine-tuning our scripting abilities with this tool.

If the move you played triggers a conditional move there is a different response depending on whether you are in the app or web

App

The top of your screen with have a green bar (like the one after you send a comment on the web) that says "your move has triggered a conditional move – it is your turn again" and takes you to the next game/homepage so you have to click into the game again to move

Web

The same message appears the same way, except that you stay in the same game until the conditional moves end

If the opponent moves on their own, nothing happens.