fn check_extensions_can_be_applied(friendly_king_checked: bool) -> bool
Expand description

The main idea of the check extensions is to extend search when there’s a check. Because it’s a forced move, we assume that a lot is going on in that branch and it’s a good idea to search deeper so we avoid horizon effects.

Conditions:

  • friendly king is checked