Ejemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     {
         game = new Game();
         NewGame();
     }
 }
Ejemplo n.º 2
0
 private void NewGame()
 {
     game = new Game();
     OneUp.Children.Clear();
     TwoUp.Children.Clear();
     ThreeUp.Children.Clear();
     FourUp.Children.Clear();
     FiveUp.Children.Clear();
     SixUp.Children.Clear();
     SevenUp.Children.Clear();
     EightUp.Children.Clear();
     NineUp.Children.Clear();
     TenUp.Children.Clear();
     ElevenUp.Children.Clear();
     TwelveUp.Children.Clear();
     ThirteenUp.Children.Clear();
     DrawCards();
 }