/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> internal void OnGameStarted(object sender, GameStartedEventArgs e) { Refresh(); var game = this.DataContext as Game; if (game.BlackPlayer.IsHuman()) { game.PlayerMove(new GameMove(this.boardSize / 2, this.boardSize / 2)); } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void OnGameStarted(object sender, GameStartedEventArgs e) { this.gameStatusLabel.Text = ""; }