Ejemplo n.º 1
0
        static void Render()
        {
            //Player
            Console.SetCursorPosition(0, 0);
            Console.Write("Player: ");
            hand.Display();
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.SetCursorPosition(0, 1);
            Console.Write("Money: $" + player.getMoney());
            Console.ResetColor();
            //Dealer
            Console.SetCursorPosition(35, 0);
            Console.Write("Dealer: ");
            dealer.DisplayHand();
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.SetCursorPosition(35, 1);
            Console.Write("Money: $" + dealer.getMoney());
            Console.ResetColor();

            Console.SetCursorPosition(0, 2);
            Console.Write("----------------------------------------------------------------------");
        }
Ejemplo n.º 2
0
 public void DisplayHand()
 {
     hand.Display();
 }