captureMatrix isn't like morph. It should be defined it once per diagram, and each "row" and "column" represents a piece type, not a square, and this includes empty squares if I remember right. See the source (use Ctrl+U) this diagram of Tenjiku Shogi for an example.
captureMatrix isn't like morph. It should be defined it once per diagram, and each "row" and "column" represents a piece type, not a square, and this includes empty squares if I remember right. See the source (use Ctrl+U) this diagram of Tenjiku Shogi for an example.