H. G. Muller wrote on Fri, Oct 6, 2023 05:03 PM UTC:
This refers to your question why the the Interactive Diagram estimated a higher value for King than for Prince. This was actually a bug, which I thought I had fixed. But apparently I only fixed it in betzaNew.js, not in betza.js.
The problem was that for estimating the value it put the piece on the board (to count its moves) in the virgin form, rather than as a piece that has already moved. So the King always had all his 16 initial non-captures, why the Prince only has a single non-capture double push. Initial moves do not really contribute to piece value, so it should have placed the piece it was estimating on the board as a piece that has moved, so that the initial moves are not possible, and thus not counted.
This refers to your question why the the Interactive Diagram estimated a higher value for King than for Prince. This was actually a bug, which I thought I had fixed. But apparently I only fixed it in betzaNew.js, not in betza.js.
The problem was that for estimating the value it put the piece on the board (to count its moves) in the virgin form, rather than as a piece that has already moved. So the King always had all his 16 initial non-captures, why the Prince only has a single non-capture double push. Initial moves do not really contribute to piece value, so it should have placed the piece it was estimating on the board as a piece that has moved, so that the initial moves are not possible, and thus not counted.
I fixed this now. (Cache flush needed!)