superchessengine / sce

next-gen AI enabled chess engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

find the shortest mate sequence

khushit-shah opened this issue · comments

  • When all moves lead to mate, The engine selects random move.
  • Find the move which leads to the shortest mate sequence.
  • To prevent mate, play the move that has the longest mate sequence