Greg Strong wrote on Tue, Dec 22, 2020 07:30 PM EST:
I'm having difficulty getting an Interactive Diagram to work for this game also. It's basically just chess with Pawns as the extinction type. And pawns promote only to kings. So I thought this would be simple, but it doesn't seem to detect endgame and the AI does not move at all. The code is below (but it's also on the page so you can try it):
I'm having difficulty getting an Interactive Diagram to work for this game also. It's basically just chess with Pawns as the extinction type. And pawns promote only to kings. So I thought this would be simple, but it doesn't seem to detect endgame and the AI does not move at all. The code is below (but it's also on the page so you can try it):