Beispiel #1
0
        }//end of main

        public static void PrintAllCurrentData(List <Game> games, List <Player> players, List <Round> rounds)
        {
            Console.WriteLine("\n___________________GAMES_______________________\n");
            Game.printGames(games);
            Console.WriteLine("\n___________________PLAYERS_______________________\n");
            Player.printPlayers(players);
            Console.WriteLine("\n___________________ROUNDS_______________________\n");
            Round.printRounds(rounds);
        }
Beispiel #2
0
 public static void printGame(Game game)
 {
     System.Console.WriteLine($"Game:\nPlayer1 Name => {game.Player1.Name}\ncomputer Name => {game.Computer.Name}\n game winner => {game.winner.Name}");
     System.Console.WriteLine($"\t--- Here are the games rounds --- ");
     Round.printRounds(game.rounds);
 }