Esempio n. 1
0
        public void showDetailedList(List <Player> players)
        {
            Console.Clear();
            ClassicYahtzeeView yw = new ClassicYahtzeeView();

            yw.showBoard(players);
            for (int i = 0; i < players.Count; i++)
            {
                Console.WriteLine("Date: " + players[i].getDate());
                Console.WriteLine("Name: " + players[i].getName());
                Console.WriteLine("---------------------------");
            }
            showPressToBack();
            Console.ReadLine();
        }
Esempio n. 2
0
        public void showDetailedList(List<Player> players)
        {
            Console.Clear();
            ClassicYahtzeeView yw = new ClassicYahtzeeView();
            yw.showBoard(players);
            for (int i = 0; i < players.Count; i++)
            {

                Console.WriteLine("Date: " + players[i].getDate());
                Console.WriteLine("Name: " + players[i].getName());
                Console.WriteLine("---------------------------");
            }
            showPressToBack();
            Console.ReadLine();
        }