コード例 #1
0
ファイル: Analyser.php プロジェクト: Austin-Pray/lichess
 /**
  * Tell whether or not this player can castle queen side
  *
  * @return bool
  **/
 public function canCastleQueenSide(Player $player)
 {
     return $this->canCastle($player->getKing(), -4);
 }