Commit f2fe99e2 authored by Jolan RENOUX's avatar Jolan RENOUX
Browse files

maj appp6

parent 9b9d64ea
......@@ -121,7 +121,10 @@ public class Application {
while (FenetreJeux.getCoco() != null) {
try {
valtouche = Network.playOneTurn("http://172.26.82.18//api/v0", jeu, jaquie, FenetreJeux.getCoco());
while (valtouche==-10) {
Network.playOneTurn("http://172.26.82.18//api/v0", jeu, jaquie, FenetreJeux.getCoco());
Thread.sleep(400);
}
} catch (UnirestException | BadCoordException e) { e.printStackTrace();}
}
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