💡📝H. G. Muller wrote on Sat, Nov 5, 2022 08:46 PM UTC:
I extended the functionality of the morph parameter. It can now not only be used for specifying irregular promotions / piece-type morphing, but also to specify inaccessible or goal areas for each piece type. For this a square in the board image would have to contain a ! (inaccessible), + (delayed win) or # (immediate win). A piece ID indicates forced promotion to that piece type, a * a promotion choice according to the rules specified with the promoChoice parameter.
I added a section to the article to describe the morph feature, also giving some examples of its use.
I extended the functionality of the morph parameter. It can now not only be used for specifying irregular promotions / piece-type morphing, but also to specify inaccessible or goal areas for each piece type. For this a square in the board image would have to contain a ! (inaccessible), + (delayed win) or # (immediate win). A piece ID indicates forced promotion to that piece type, a * a promotion choice according to the rules specified with the promoChoice parameter.
I added a section to the article to describe the morph feature, also giving some examples of its use.