Commit 9b9d64ea authored by Jolan RENOUX's avatar Jolan RENOUX
Browse files

maj appp5

parent 4b525874
...@@ -65,8 +65,7 @@ public class Application { ...@@ -65,8 +65,7 @@ public class Application {
try { try {
jeu = pf.fc.getJeu(); jeu = pf.fc.getJeu();
System.out.println(jeu); System.out.println(jeu);
boolean bool = Network.joinGame(url,jeu,jaquie,fleet); Network.joinGame(url,jeu,jaquie,fleet);
System.out.println(bool);
System.out.println("pupute"); System.out.println("pupute");
} catch (UnirestException | UncompleteFleetException | BadCoordException e) { e.printStackTrace();} } catch (UnirestException | UncompleteFleetException | BadCoordException e) { e.printStackTrace();}
System.out.println("puuuuuute"); System.out.println("puuuuuute");
...@@ -122,6 +121,7 @@ public class Application { ...@@ -122,6 +121,7 @@ public class Application {
while (FenetreJeux.getCoco() != null) { while (FenetreJeux.getCoco() != null) {
try { try {
valtouche = Network.playOneTurn("http://172.26.82.18//api/v0", jeu, jaquie, FenetreJeux.getCoco()); valtouche = Network.playOneTurn("http://172.26.82.18//api/v0", jeu, jaquie, FenetreJeux.getCoco());
} catch (UnirestException | BadCoordException e) { e.printStackTrace();} } catch (UnirestException | BadCoordException e) { e.printStackTrace();}
} }
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment