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

maj appp2

parent 0b9c4d16
......@@ -73,6 +73,7 @@ public class Application {
while (done) {
if (pf.fc.getChoix() == 1) {
//rejoindre
System.out.println("REJOINDRE PARTIE");
try {
jeu = pf.fc.getJeu();
Network.joinGame(url,pf.fc.getJeu(),jaquie,fleet);
......@@ -80,6 +81,7 @@ public class Application {
done = true;
} else if (pf.fc.getChoix() == 2) {
//creer partie
System.out.println("CREER PARTIE");
try {
jeu = Network.initNewGame(url,jaquie,fleet);
}
......@@ -87,6 +89,7 @@ public class Application {
done = true;
} else if (pf.fc.getChoix() == 0) {
//pas encore choisi
System.out.print(".");
} else {
//probleme
System.out.println("PROBLEME");
......
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