Ejemplo n.º 1
0
        private void start_button_Click(object sender, EventArgs e)
        {
            Console.WriteLine("Start game clicked");
            Game game = new Game(enteredchips, enteredname);

            Console.WriteLine("Buy-in: " + game.getChips());
            Console.WriteLine("Small Blind: " + game.getSmallBlind());
            Console.WriteLine("Big Blind: " + game.getBigBlind());
            Console.WriteLine("Player: " + enteredname);
            Console.WriteLine(game.getPlayer().getName());
            Console.WriteLine(game.getPlayer().getCurrentChips());

            this.Hide();
            Gamewindow gamewindow = new Gamewindow(game);

            gamewindow.ShowDialog();
        }