ok, so the additional hidden board would just be used as an internal logical structure, which is in no way visible in the GUI, because there's the real board where some action might happen. in short, it would be only a surrogate to store a 3D array (with two input variables x,y i.e.'the hidden board') of precalculated lists (= the z-dimension, values stored as piece-values of hidden stacks placed in the hidden board).
I know this sounds intricately, but it would be some sort of workaround for not having a 3D-array at hand.
in ludii syntax, it would look like this, maybe:
(arrayValue (array "DataCube") index_x:12 index_y:17) -> {1,2,7, ... ,21,24} (the z-collumn),
which then would need some {..} -> [..] trick to get a region out of it.. ^_^
Named arrays (like regions, and maps!) would be very powerful if they could be put in the equipment, I think. As for the example I dont have a real game descripton yet, just testing and learning the ludii-language. And because my reasoning is used to & seems to be so fixated to arrays, I'm having a hard time with it of course.
But since I have a few weeks now until the stack:true movement is fixed, I have time to better understand the ludii-language and find out how to encode all the ideas I will have with the existing ludemes.
I know this sounds intricately, but it would be some sort of workaround for not having a 3D-array at hand.
in ludii syntax, it would look like this, maybe:
(arrayValue (array "DataCube") index_x:12 index_y:17) -> {1,2,7, ... ,21,24} (the z-collumn),
which then would need some {..} -> [..] trick to get a region out of it.. ^_^
Named arrays (like regions, and maps!) would be very powerful if they could be put in the equipment, I think. As for the example I dont have a real game descripton yet, just testing and learning the ludii-language. And because my reasoning is used to & seems to be so fixated to arrays, I'm having a hard time with it of course.
But since I have a few weeks now until the stack:true movement is fixed, I have time to better understand the ludii-language and find out how to encode all the ideas I will have with the existing ludemes.