コード例 #1
0
ファイル: Turn.cs プロジェクト: maxledlie/ChessSharp
 public void GenerateMoves()
 {
     if (!_leaf)
     {
         if (CurrentBoard.Checkmated(PlayingColour))
         {
             SendGameOver(NonPlayingColour());
         }
         else if (CurrentBoard.Stalemate(PlayingColour))
         {
             SendGameOver(PieceColour.None);
         }
     }
 }