Only KK, KBK, KNK and KBKB with like Bishops (where XBoard in fact considers the possesion of many Bishops on the same square shade as if it is just a single one) can be claimed as a draw.sje wrote:The problem here is that while XBoard tries to observe FIDE rules, there just isn't an easy way to test if a given position is a true draw by insufficient material. In a recent game with XBoard adjudication activated, Symbolic was forfeited after claiming a draw in KBKN -- and the draw was proven by the tablebases.
That a position is a draw according to tablebases (i.e. with best play) doesn't mean a thing. The opening position is almost certainly a draw with best play, but that doesn't mean you should be able to claim one. The whole idea of Chess is that the players should prove their worth on the board, not by proxy of a superior entity.
I agree that you have to be exceedingly stupid to lose end-games like KBKN, KNNK or KRKR, and that it is usually a waste of time to play those out. This is why XBoard has an adjudication option for "trivial draws", which adjudicates them. But adjudication is a GUI/referee thing, and the engine/player has no say in it, and cannot do anything special to prevent or force it.
Of course it is always possible to assign the engine also the role of referee. (In variants unknown to XBoard this even is a necessity.) To do that ou simply untick the "Verify engine claims" option, and XBoard would believe it at any time when the engine terminates the game by a RESULT command (i.e. 0-1, 1-0 or 1/2-1/2). E.g. when playing 'King of the Hill' the engine must be able to claim a win when his King has reached the center.