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

maj appp2

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