10-31-2021, 08:31 AM
(This post was last modified: 11-01-2021, 08:16 AM by dale walton.)
The attached game is supposed to update the scores according to the number of enclosed empty sites times the number of enclosed regions (whether or not empty)
It is properly calculating enclosed sites and seed sites, but it is not properly calculation the (size Array ()) values in the (set Score #1 (...) (then (...))) Presumably because it is forgetting the remembered values before counting them)
If this is not a bug, please tell me how to do it correctly. - But it looks like it is clearly a bug.
-----------------------------------------
Re Edit: I thought, I found a work-around by scripting in a dummy consequence. May help you to find what's wrong...
However it still doesn't pick up the remembered values reliably...
How does the script need to be structured to ensure the final values are used? do I need to use (results ...)?
It is properly calculating enclosed sites and seed sites, but it is not properly calculation the (size Array ()) values in the (set Score #1 (...) (then (...))) Presumably because it is forgetting the remembered values before counting them)
If this is not a bug, please tell me how to do it correctly. - But it looks like it is clearly a bug.
-----------------------------------------
Re Edit: I thought, I found a work-around by scripting in a dummy consequence. May help you to find what's wrong...
However it still doesn't pick up the remembered values reliably...
How does the script need to be structured to ensure the final values are used? do I need to use (results ...)?