Commit 7c75d53b authored by Jolan RENOUX's avatar Jolan RENOUX
Browse files

debut app

parent 4fbac6e8
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_15" project-jdk-name="15 (2)" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_14" project-jdk-name="14" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
\ No newline at end of file
import com.mashape.unirest.http.exceptions.UnirestException;
import vue.FenetreConnexion;
import java.awt.*;
......@@ -11,10 +14,19 @@ import java.awt.*;
public class Application {
public static void main(String[] args) {
FenetreConnexion test = new FenetreConnexion("Connexion au serveur et aux parties", "");
// (URL à changer si ca ne marche pas)
// (URL à changer si ca ne marche pas)
test.setPreferredSize(new Dimension(800,400));
Player jaquie = new Player("Jaquie");
try {
Network.suscribeNewPlayer("", jaquie);
} catch (UnirestException e) {
......@@ -21,8 +21,8 @@ import static org.junit.jupiter.api.Assertions.*;
public class RunningGameTest {
public static final String HTTP_LOCALHOST = "";
//ancien url:
public static final String HTTP_LOCALHOST = "";
static Player joueur1;
static Player joueur2;
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