예제 #1
0
 static void Main(string[] args)
 {
     ConsoleGame game = new ConsoleGame( 2  );
     game.TryAddPlayer(new ConsolePlayer("Stefan"));
     game.TryAddPlayer(new ConsolePlayer("Michael"));
     game.StartGame();
 }
예제 #2
0
        static void Main(string[] args)
        {
            ConsoleGame game = new ConsoleGame(2);

            game.TryAddPlayer(new ConsolePlayer("Stefan"));
            game.TryAddPlayer(new ConsolePlayer("Michael"));
            game.StartGame();
        }