예제 #1
0
 public static Game ParseAndRunGame(string[] args)
 {
     try
     {
         var game = GameParser.ParseArgsIntoGame(args);
         RunGame(game);
         return(game);
     }
     catch (InvalidOperationException exception)
     {
         HandleInvalidArgument(exception.Message);
         return(null);
     }
 }