Exemplo n.º 1
0
        //Allows for another game of Othello to be player with the winner being Player 1(Black)
        private void playAgain_Click(object sender, RoutedEventArgs e)
        {
            Othello othello2 = new Othello(winnerName, loserName);

            othello2.Show();
            this.Close();
        }
Exemplo n.º 2
0
        //Handles the Name selection for each player
        private void start_Click(object sender, RoutedEventArgs e)
        {
            Othello othello = new Othello(p1Name.Text, p2Name.Text);

            othello.Show();
            this.Close();
        }