示例#1
0
 public void SetFinishedState(Game.GameCore game)
 {
     if (game.IsStatemate)
     {
         lblStateDescription.Text = "The game is a stalemate";
     }
     else
     {
         lblStateDescription.Text      = string.Format("{0} has won the game", _gameController.GetWinningPlayer().PlayerName);
         lblStateDescription.BackColor = _gameController.GetWinningPlayer().HighlightColour;
     }
 }