package pt.c02classes.s01knowledge.s02app.app;

public class OrchestratorGeral {
	/* Implementar um programa para funcionar com os dois jogos;
	 * ele pede por terminal o nome do jogo e o nome do animal
	 * ou do labirinto para realizar o jogo
	 */
}

@@ -41,16 +41,671 @@
 p.app;%0A%0A
+import pt.c02classes.s01knowledge.s01base.impl.Statistics;%0Aimport pt.c02classes.s01knowledge.s01base.inter.IEnquirer;%0Aimport pt.c02classes.s01knowledge.s01base.inter.IResponder;%0Aimport pt.c02classes.s01knowledge.s01base.inter.IStatistics;%0Aimport pt.c02classes.s01knowledge.s01base.inter.IBaseConhecimento;%0Aimport pt.c02classes.s01knowledge.s02app.actors.EnquirerMaze;%0Aimport pt.c02classes.s01knowledge.s02app.actors.ResponderMaze;%0Aimport pt.c02classes.s01knowledge.s01base.impl.BaseConhecimento;%0Aimport pt.c02classes.s01knowledge.s02app.actors.EnquirerAnimals;%0Aimport pt.c02classes.s01knowledge.s02app.actors.ResponderAnimals;%0A%0Aimport java.util.Scanner;%0A%0A
 public c
@@ -729,17 +729,20 @@
 Geral %7B%0A
-%09
+    
 /* Imple
@@ -794,17 +794,20 @@
  jogos;%0A
-%09
+    
  * ele p
@@ -857,17 +857,20 @@
  animal%0A
-%09
+    
  * ou do
@@ -905,11 +905,2062 @@
 ogo%0A
-%09 */%0A%7D
+     */%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A%0A        IEnquirer enq;%0A        IResponder resp;%0A        IStatistics stat;%0A%0A        System.out.print(%22Jogar (A)nimals, (M)aze, ou (S)air? %22);%0A        String jogo = scanner.nextLine();%0A        while(!jogo.equalsIgnoreCase(%22F%22)) %7B%0A            switch (jogo.toUpperCase()) %7B%0A                case %22A%22:%0A                    IBaseConhecimento base = new BaseConhecimento();%0A%0A                    base.setScenario(%22animals%22);%0A                    String listaAnimais%5B%5D = base.listaNomes();%0A                    for (String listaAnimai : listaAnimais) %7B%0A                        System.out.println(%22Enquirer com %22 + listaAnimai + %22...%22);%0A                        stat = new Statistics();%0A                        resp = new ResponderAnimals(stat, listaAnimai);%0A                        enq = new EnquirerAnimals();%0A                        enq.connect(resp);%0A                        enq.discover();%0A                        System.out.println(%22----------------------------------------------------------------------------------------%5Cn%22);%0A                    %7D%0A                    break;%0A                case %22M%22:%0A                    System.out.println(%22Escolha o Labirinto: %22);%0A                    System.out.print(%22--%3E %22);%0A                    String labirinto = scanner.nextLine();%0A                    System.out.printf(%22Enquirer com %25s...%25n%22, labirinto);%0A                    labirinto = labirinto.toLowerCase();%0A                    stat = new Statistics();%0A                    resp = new ResponderMaze(stat, labirinto);%0A                    enq = new EnquirerMaze();%0A                    enq.connect(resp);%0A                    enq.discover();%0A                    System.out.println(%22----------------------------------------------------------------------------------------%5Cn%22);%0A                    break;%0A%0A            %7D%0A            System.out.print(%22Jogar (A)nimals (M)aze, ou (S)air? %22);%0A            jogo = scanner.nextLine();%0A        %7D%0A        scanner.close();%0A%0A    %7D%0A%0A%0A%7D%0A
 %0A

Update OrchestratorGeral.java