[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Capture bridges now also work. The anti-trading rules in Chu Shogi are so complex because they are applied to a piece capable of double capture, so that a trade could be accompanied by a sizable material gain, and they did not want to outlaw that. The same could in principle happen when several piece types of unequal value are subject to this rule. (As is the case in Tengu Dai Shogi, where Lion and Lion Dog can also not capture each other when they are protected.)
I solved it by specifying a value threshold, and when the combined gain of the capture is larger than the value of the capturer plus this threshold it can be made safely. Because the piece values are only known to the diagram, the option to specify this is tradeThreshold=N, where N is the number of the most-valuable piece that can not act as a capture bridge. So in this case I specified N=2, as the GB was defined as the second piece.
This appears to work, as can be easily tested by dragging a white Lion to i6 and a black one to g7, switch the AI on, and then drag various white pieces to h6 (and then take back 2 moves for the next try). For every piece black should then play Lnxh6xi6, except for P and GB, where it will play something else.