Esempio n. 1
0
 public void GenerateMoves()
 {
     if (!_leaf)
     {
         if (CurrentBoard.Checkmated(PlayingColour))
         {
             SendGameOver(NonPlayingColour());
         }
         else if (CurrentBoard.Stalemate(PlayingColour))
         {
             SendGameOver(PieceColour.None);
         }
     }
 }