#include "rkiss.h"
#include "thread.h"
#include "tt.h"
+#include "notation.h"
using std::string;
bool Position::is_draw() const {
- if ( !pieces(PAWN)
- && (non_pawn_material(WHITE) + non_pawn_material(BLACK) <= BishopValueMg))
- return true;
-
if (st->rule50 > 99 && (!checkers() || MoveList<LEGAL>(*this).size()))
return true;